projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
contrib/meshwizard: Add option in community profiles to set the same bssid for every...
[project/luci.git]
/
contrib
/
package
/
meshwizard
/
files
/
usr
/
bin
/
meshwizard
/
helpers
/
gen_bssid.sh
diff --git
a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh
b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh
index
fa042ab
..
c9be997
100755
(executable)
--- a/
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh
+++ b/
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh
@@
-11,8
+11,9
@@
community=$2
# Try to get BSSID from profile first
config_load profile_$community
config_get bssid bssidscheme $channel
# Try to get BSSID from profile first
config_load profile_$community
config_get bssid bssidscheme $channel
+config_get bssid_all bssidscheme "all"
-if [ -z "$bssid" ]; then
+if [ -z "$bssid" ]
&& [ -z "$bssid_all" ]
; then
case $channel in
[1-9])
bssid="$(printf "%X\n" $channel)2:CA:FF:EE:BA:BE"
case $channel in
[1-9])
bssid="$(printf "%X\n" $channel)2:CA:FF:EE:BA:BE"