This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#This script enables wifi toggle functionality on the Wifi button (BTN_2) | |
#of the WNDR3800 running Attiude Adjustment | |
( | |
cat << 'EOF' | |
#!/bin/sh | |
STATUS=`iwconfig wlan0 2>&1 | grep 'No such device'` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#This script enables wifi toggle functionality on the Wifi button (BTN_2) | |
#of the WNDR3800 running Barrier Breaker | |
( | |
cat << 'EOF' | |
#!/bin/sh | |
STATUS=`wifi status | grep -m 1 up | sed -e 's/^[ \t]*//' -e 's/"up": //'` |