diff options
author | makefu <github@syntax-fehler.de> | 2013-06-10 20:30:41 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-06-10 20:30:41 +0200 |
commit | 20b1c6c2158fb12b6422c170d4a2a0f402864308 (patch) | |
tree | d31541c882bdb63624466877d3edc2db641c55a1 /usr/lib/autowifi/lib/plugin_core | |
parent | 910446fb3b32314f9a1efbab5d948d76021a8c7c (diff) |
finish refactoring new wpa_supplicant autowifi
Diffstat (limited to 'usr/lib/autowifi/lib/plugin_core')
-rw-r--r-- | usr/lib/autowifi/lib/plugin_core | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/lib/autowifi/lib/plugin_core b/usr/lib/autowifi/lib/plugin_core index 025d9dbd..da003350 100644 --- a/usr/lib/autowifi/lib/plugin_core +++ b/usr/lib/autowifi/lib/plugin_core @@ -1,12 +1,10 @@ parse_plugin_args(){ - [ $# -ne 6 ] && plugin_usage && exit 1 + [ $# -ne 4 ] && plugin_usage && exit 1 # convenience function to put args in ENV variables ESSID="$1" MAC="$2" CHANNEL="$3" ENC="$4" - WPA="$5" - WPA2="$6" if [ ${#MAC} -ne 17 ] ;then echo "MAC malformed" exit 1 |