Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael lantis1008

  • Australia
View GitHub Profile
@lantis1008
lantis1008 / installAA.sh
Created Jun 15, 2015
enables WiFi toggle on button press on a WNDR3800 running Attitude Adjustment
View installAA.sh
#!/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'`
@lantis1008
lantis1008 / installBB.sh
Last active Aug 29, 2015
enables WiFi toggle on button press on a WNDR3800 running Barrier Breaker
View installBB.sh
#!/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": //'`