aredn/files/usr/local/bin/fccid

10 lines
196 B
Plaintext
Raw Normal View History

#!/bin/sh
[ -f /etc/config/run-fccid ] || exit
# stagger the beacons between nodes
N=`ifconfig wl0 | grep "inet addr" | cut -f4 -d. | cut -c1-3`
sleep $N
netmsg 10.255.255.255 "ID: `hostname`"