view bin/macaddr.sh @ 661:1453c8a3747e

STUB: python/clean_whiteboard.py
author Jeff Hammel <k0scist@gmail.com>
date Thu, 03 Apr 2014 17:31:43 -0700
parents 08574641d801
children
line wrap: on
line source

#!/bin/bash

INTERFACE=eth0

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