X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=contrib%2Fpackage%2Fmeshwizard%2Ffiles%2Fusr%2Fbin%2Fmeshwizard%2Fhelpers%2Fsetup_wifi.sh;fp=contrib%2Fpackage%2Fmeshwizard%2Ffiles%2Fusr%2Fbin%2Fmeshwizard%2Fhelpers%2Fsetup_wifi.sh;h=7366fe6ea4181cf1cc2be8bfd240f3fc2744a4c6;hb=21b9548361e10df47b4e69fd614eb33271f08584;hp=3d28e3956c9b21c03c7bb305f3a3097dc15e4315;hpb=b2b58f1cea2da4089e1ca366219cd048a826e690;p=project%2Fluci.git diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh index 3d28e3956..7366fe6ea 100755 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh @@ -65,6 +65,8 @@ 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 + ssid="ch$channel.$ssid" fi uci batch << EOF