diff options
author | makefu <github@syntax-fehler.de> | 2013-05-29 20:46:47 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-05-29 20:46:47 +0200 |
commit | 5c603b50b12c253658cf9911a92c046e302b8696 (patch) | |
tree | bb22ec47baa91991773bd5b1c6335218c01f2026 /usr/lib | |
parent | 7d8f7c4c3c7f592191bf61fbddeb3996c58dcba3 (diff) |
easybox comes in many flavours !
Diffstat (limited to 'usr/lib')
-rwxr-xr-x | usr/lib/autowifi/plugins/02easybox | 2 |
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} |