view bin/macaddr.sh @ 640:3059ee249888

STUB: python/git_merge_master.py
author Jeff Hammel <k0scist@gmail.com>
date Tue, 04 Mar 2014 16:19:37 -0800
parents 08574641d801
children
line wrap: on
line source

#!/bin/bash

INTERFACE=eth0

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