comparison bin/macaddr.sh @ 628:08574641d801

STUB: bin/macaddr.sh
author Jeff Hammel <k0scist@gmail.com>
date Wed, 19 Feb 2014 16:03:17 -0800
parents
children
comparison
equal deleted inserted replaced
627:870af8d51552 628:08574641d801
1 #!/bin/bash
2
3 INTERFACE=eth0
4
5 ifconfig ${INTERFACE} | grep 'HWaddr' | sed 's/.*HWaddr \(.*\) /\1/'