Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test -f /var/run/wifi.pid || wifi wdog
- wstat=$(grep $wdev: /proc/net/dev|if read l;then set ${l#*:};echo $1;fi)
- ostat=$(cat /var/run/status.$wdev 2>&-)
- echo $wstat>/var/run/status.$wdev
- eval $(/usr/sbin/wl -i $wdev status|sed -e"s/^Supported //;s/: \+\([^ ]*\)/='\1';/g")
- rand=$(dd if=/dev/urandom bs=2 count=1 2>&-|hexdump|if read line;then echo 0x${line#* };fi)
- ff_bssid=$(nvram get ff_bssid|sed -e "y/abcdef/ABCDEF/")
- BSSID=$(echo $BSSID|sed -e "y/abcdef/ABCDEF/")
- ff_ping=$(nvram get ff_ping)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement