Mercurial > hg > config
view bin/macaddr.sh @ 911:6fbbe5f0bc6b
add silvermirror/unison alternative
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 14 Apr 2024 15:00:41 -0700 |
parents | 08574641d801 |
children |
line wrap: on
line source
#!/bin/bash INTERFACE=eth0 ifconfig ${INTERFACE} | grep 'HWaddr' | sed 's/.*HWaddr \(.*\) /\1/'