summaryrefslogtreecommitdiffstats
path: root/usr/lib/autowifi/01open
diff options
context:
space:
mode:
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