mvebu: handle other SKUs as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45396 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
867aa778f8
commit
e926ef32b2
|
@ -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 New Issue