summaryrefslogtreecommitdiffstats
path: root/usr/lib/autowifi/01open
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-05-24 15:05:22 +0200
committerlassulus <lassulus@googlemail.com>2013-05-24 15:05:22 +0200
commite28ab86654d9f70ea055929ae37d040783d4af9a (patch)
treea8833074880ba667c301d36b1805c1a589b597f1 /usr/lib/autowifi/01open
parentf7e3a735078dd0a758066c9398489ca747ab4834 (diff)
lots of stuff
Diffstat (limited to 'usr/lib/autowifi/01open')
-rwxr-xr-xusr/lib/autowifi/01open5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/lib/autowifi/01open b/usr/lib/autowifi/01open
index da94cc98..f3b9640c 100755
--- a/usr/lib/autowifi/01open
+++ b/usr/lib/autowifi/01open
@@ -1,5 +1,6 @@
#!/bin/sh
#ESSID MAC CHANNEL ENCRYPTION WPA WPA2
-if ! [ "$4" == "none" ]; then
- exit 1
+if [ "$4" == "off" ]; then
+ exit 0
fi
+exit 1