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 7366fe6ea4181cf1cc2be8bfd240f3fc2744a4c6..707b7b72cd800c79ccbd003dcefbd684ece0e904 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