summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/lib/autowifi/plugins/02easybox2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/lib/autowifi/plugins/02easybox b/usr/lib/autowifi/plugins/02easybox
index e5323977..2126e17c 100755
--- a/usr/lib/autowifi/plugins/02easybox
+++ b/usr/lib/autowifi/plugins/02easybox
@@ -1,6 +1,6 @@
#!/bin/sh
#ESSID MAC CHANNEL ENCRYPTION WPA WPA2
-if ! echo $1 | grep -qi Easybox; then
+if ! echo "$1" | egrep -qi "(EasyBox-|Arcor-|Vodafone-)"; then
exit 1
else
MAC=${2?\$2 must be MAC}