The ntk-wifi script should work now, Including it's new --undo argument.

This commit is contained in:
MissValeska 2014-11-25 11:15:41 -08:00
parent 66500c1c2c
commit de85724e7b

View File

@ -21,9 +21,10 @@ fi
wlan=$1 wlan=$1
echo "$2" ARGSTR1="-u"
ARGSTR2="--undo"
if $2 == "-u" $2 == "--undo" if [ x$2 = x$ARGSTR1 -o x$2 = x$ARGSTR2 ]
then then
iwconfig $wlan mode managed iwconfig $wlan mode managed
ifconfig $wlan down ifconfig $wlan down