i think i almost have the default pass, i have to understand one more function

This commit is contained in:
2018-11-18 18:19:38 +01:00
parent 8206ede06a
commit 36aeaa07f6
264 changed files with 11666 additions and 1 deletions

32
verb/fs.sbin/wlan.sh Executable file
View File

@@ -0,0 +1,32 @@
#!/bin/sh
#
# $Id: wlan.sh, v1.00 2009-11-11 andy
#
# usage: wlan.sh
#
echo "**** wlan.sh ***"
lan_link=`gpio lanlink`
if [ "$lan_link" = "1" ]; then
exit 0
fi
ifconfig ra0 down
wlan_disable=`nvram_get 2860 WirelessDisable`
if [ "$wlan_disable" = "0" ]; then
gpio wlan 0
ifconfig ra0 up
fi
if [ "$wlan_disable" = "1" ]; then
gpio wlan 1
fi
# mydlink
#/mydlink/opt.local stop
#/mydlink/opt.local start
gpio mydlink
gpio ping &