summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-05-29 20:46:47 +0200
committermakefu <github@syntax-fehler.de>2013-05-29 20:46:47 +0200
commit5c603b50b12c253658cf9911a92c046e302b8696 (patch)
treebb22ec47baa91991773bd5b1c6335218c01f2026 /usr
parent7d8f7c4c3c7f592191bf61fbddeb3996c58dcba3 (diff)
easybox comes in many flavours !
Diffstat (limited to 'usr')
-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}