summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/meshwizard/files/usr
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-08-20 20:39:46 +0000
committerManuel Munz <freifunk@somakoma.de>2011-08-20 20:39:46 +0000
commit015d95e3f4e702ba8040abaeeddbf0057dba562d (patch)
tree1d1dd751597eaade521652cfa45a7bbdbf8001ec /contrib/package/meshwizard/files/usr
parent2a287a2049ddb404d4b96391721627655865a671 (diff)
contrib/meshwizard: The last change broke correct bssid_generation, should work again
Diffstat (limited to 'contrib/package/meshwizard/files/usr')
-rwxr-xr-xcontrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh4
1 files changed, 3 insertions, 1 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 492dfe8e5f..e05300a0d3 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,7 +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" && bssid="$bssid_all"
+if [ -z "$bssid" ]; then
+ config_get bssid bssidscheme "all"
+fi
if [ -z "$bssid" ]; then
case $channel in