git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
51fa41e
)
contrib/meshwizard: fix for last commit
author
Manuel Munz
<redacted>
Fri, 5 Aug 2011 17:21:26 +0000
(17:21 +0000)
committer
Manuel Munz
<redacted>
Fri, 5 Aug 2011 17:21:26 +0000
(17:21 +0000)
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh
patch
|
blob
|
history
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 c9be99786fc0c355dfb4544cde72bb10f59ef4a4..492dfe8e5f9256cd8ba4dece4d4af3972a068374 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,9
+11,9
@@
community=$2
# Try to get BSSID from profile first
config_load profile_$community
config_get bssid bssidscheme $channel
-config_get bssid_all bssidscheme "all"
+config_get bssid_all bssidscheme "all"
&& bssid="$bssid_all"
-if [ -z "$bssid" ]
&& [ -z "$bssid_all" ]
; then
+if [ -z "$bssid" ]; then
case $channel in
[1-9])
bssid="$(printf "%X\n" $channel)2:CA:FF:EE:BA:BE"
git clone https://git.99rst.org/PROJECT