Browse Source

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

MissValeska 9 years ago
parent
commit
de85724e7b
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/scripts/ntk-wifi

+ 3
- 2
src/scripts/ntk-wifi View File

@@ -21,9 +21,10 @@ fi
21 21
 
22 22
 wlan=$1
23 23
 
24
-echo "$2"
24
+ARGSTR1="-u"
25
+ARGSTR2="--undo"
25 26
 
26
-if $2 == "-u" $2 == "--undo"
27
+if [ x$2 = x$ARGSTR1 -o x$2 = x$ARGSTR2 ]
27 28
 then
28 29
 iwconfig $wlan mode managed
29 30
 ifconfig $wlan down

Loading…
Cancel
Save