aredn/files/usr/local/bin/fccid

10 lines
198 B
Bash
Executable File

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