mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 10:12:18 +00:00
The ntk-wifi script should work now, Including it's new --undo argument.
This commit is contained in:
parent
66500c1c2c
commit
de85724e7b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user