From 21b9548361e10df47b4e69fd614eb33271f08584 Mon Sep 17 00:00:00 2001 From: Patrick Grimm Date: Wed, 30 Jul 2014 21:20:52 +0000 Subject: meshwizard: add option addchannelbefore --- .../package/meshwizard/files/usr/bin/meshwizard/helpers/setup_wifi.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib/package/meshwizard/files/usr/bin') 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 3d28e3956c..7366fe6ea4 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 -- cgit v1.2.3