mvebu: handle other SKUs as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45396
This commit is contained in:
parent
d1bedfbdf5
commit
6f01238398
1 changed files with 11 additions and 2 deletions
|
@ -13,12 +13,21 @@ case "$board" in
|
|||
armada-xp-mamba)
|
||||
SKU=$(strings /dev/mtd3|sed -ne 's/^cert_region=//p')
|
||||
case "$SKU" in
|
||||
US)
|
||||
REGD=US
|
||||
AP)
|
||||
REGD=CN
|
||||
;;
|
||||
AU)
|
||||
REGD=AU
|
||||
;;
|
||||
CA)
|
||||
REGD=CA
|
||||
;;
|
||||
EU)
|
||||
REGD=DE
|
||||
;;
|
||||
US)
|
||||
REGD=US
|
||||
;;
|
||||
esac
|
||||
uci get wireless.radio0.country || uci set wireless.radio0.country=$REGD
|
||||
uci get wireless.radio1.country || uci set wireless.radio1.country=$REGD
|
||||
|
|
Loading…
Reference in a new issue