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
3d28e39
..
7366fe6
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