summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/meshwizard
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-08-05 17:21:26 +0000
committerManuel Munz <freifunk@somakoma.de>2011-08-05 17:21:26 +0000
commit2c480459e090f0db422bc2f9d127af519d298c2c (patch)
tree777685863bdf7872b16a82ecd4d84d440eb1c8c7 /contrib/package/meshwizard
parent51fa41e9424caba43413e21e50283d34398a48a4 (diff)
contrib/meshwizard: fix for last commit
Diffstat (limited to 'contrib/package/meshwizard')
-rwxr-xr-xcontrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh4
1 files changed, 2 insertions, 2 deletions
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 c9be99786..492dfe8e5 100755
--- 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"