fix syntax error introduced in r10464
authorManuel Munz <freifunk@somakoma.de>
Thu, 31 Jul 2014 20:47:34 +0000 (20:47 +0000)
committerManuel Munz <freifunk@somakoma.de>
Thu, 31 Jul 2014 20:47:34 +0000 (20:47 +0000)
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh

index 7366fe6..707b7b7 100755 (executable)
@@ -65,7 +65,7 @@ bssid="$($dir/helpers/gen_bssid.sh $channel $community)"
 ssid="$profile_ssid"
 if [ "$profile_ssid_scheme" == "addchannel" ]; then
        ssid="$ssid - ch$channel"
-else if [ "$profile_ssid_scheme" == "addchannelbefore" ]; then
+elif [ "$profile_ssid_scheme" == "addchannelbefore" ]; then
        ssid="ch$channel.$ssid"
 fi