mirror of https://github.com/hak5/openwrt.git
oxnas: fix the incorrect board names
Signed-off-by: Shonn Lu <countrysideboy@qq.com> Acked-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48337lede-17.01
parent
10220cd7e9
commit
354e5cdbe2
|
@ -14,7 +14,7 @@ case $board in
|
|||
kd20)
|
||||
ucidef_set_led_default "power" "power" "kd20:blue:status" "1"
|
||||
;;
|
||||
pogoplugpro | pogoplugv3)
|
||||
pogoplug-pro | pogoplug-v3)
|
||||
ucidef_set_led_default "power" "power" "pogoplug:blue:internal" "1"
|
||||
;;
|
||||
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
get_status_led() {
|
||||
case $(oxnas_board_name) in
|
||||
stg212)
|
||||
stg-212)
|
||||
status_led="zyxel:blue:status"
|
||||
;;
|
||||
kd20)
|
||||
status_led="kd20:blue:status"
|
||||
;;
|
||||
pogoplugpro | pogoplugv3)
|
||||
pogoplug-pro | pogoplug-v3)
|
||||
status_led="pogoplug:blue:internal"
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -14,16 +14,16 @@ oxnas_board_detect() {
|
|||
|
||||
case "$machine" in
|
||||
*"MitraStar Technology Corp. STG-212"*)
|
||||
name="stg212"
|
||||
name="stg-212"
|
||||
;;
|
||||
*"Shuttle KD20"*)
|
||||
name="kd20"
|
||||
;;
|
||||
*"Pogoplug Pro"*)
|
||||
name="pogoplugpro"
|
||||
name="pogoplug-pro"
|
||||
;;
|
||||
*"Pogoplug V3"*)
|
||||
name="pogoplugv3"
|
||||
name="pogoplug-v3"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue