projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
meshwizard: add option addchannelbefore
[project/luci.git]
/
contrib
/
package
/
meshwizard
/
files
/
usr
/
bin
/
meshwizard
/
helpers
/
setup_wifi.sh
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 3d28e3956c9b21c03c7bb305f3a3097dc15e4315..7366fe6ea4181cf1cc2be8bfd240f3fc2744a4c6 100755
(executable)
--- 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