contrib/meshwizard: The last change broke correct bssid_generation, should work again

This commit is contained in:
Manuel Munz 2011-08-20 20:39:46 +00:00
parent 2a287a2049
commit 015d95e3f4

View file

@ -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