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:
92f1004
)
contrib/meshwizard: make gen_bssid create BSSIDs that are valid according to the...
author
Manuel Munz
<redacted>
Thu, 3 Jan 2013 14:10:18 +0000
(14:10 +0000)
committer
Manuel Munz
<redacted>
Thu, 3 Jan 2013 14:10:18 +0000
(14:10 +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 8c9155e5e9767a9958661a6e7a40a3d37a62068c..efe101fad00907d5733b4a913edf7cc2387f1e06 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
@@
-24,10
+24,10
@@
if [ -z "$bssid" ]; then
bssid="$(printf "%X\n" $channel)2:CA:FF:EE:BA:BE"
;;
[3-9][0-9])
- bssid="0
0
:$channel:CA:FF:EE:EE"
+ bssid="0
2
:$channel:CA:FF:EE:EE"
;;
1[0-9][0-9])
- bssid="${channel/1/
01
:}:CA:FF:EE:EE"
+ bssid="${channel/1/
12
:}:CA:FF:EE:EE"
;;
*) bssid="02:CA:FF:EE:BA:BE"
;;
git clone https://git.99rst.org/PROJECT