Skip to content

Instantly share code, notes, and snippets.

View lantis1008's full-sized avatar

Michael lantis1008

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