view bin/macaddr.sh @ 654:d325f380e2fb

add a front-end to minidlna
author Jeff Hammel <k0scist@gmail.com>
date Fri, 28 Mar 2014 23:01:22 -0700
parents 08574641d801
children
line wrap: on
line source

#!/bin/bash

INTERFACE=eth0

ifconfig ${INTERFACE} | grep 'HWaddr' | sed 's/.*HWaddr \(.*\) /\1/'