diff options
author | Manuel Munz <freifunk@somakoma.de> | 2011-08-05 17:16:38 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2011-08-05 17:16:38 +0000 |
commit | 51fa41e9424caba43413e21e50283d34398a48a4 (patch) | |
tree | 3711f08c5ad7c9dcf636e027bbf197ab1859dc0a /contrib | |
parent | 563598a9768f18257c8f5a65c77d1ddaf899414e (diff) |
contrib/meshwizard: Add option in community profiles to set the same bssid for every channel with bssidscheme 'all'
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh | 3 |
1 files changed, 2 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 fa042abae..c9be99786 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,8 +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" -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" |