view bin/macaddr.sh @ 662:893d650f9380

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

#!/bin/bash

INTERFACE=eth0

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