diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-18 23:34:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-18 23:34:42 +0000 |
commit | 354e5cdbe20527e23411d3d1e5e48aa6e08fd846 (patch) | |
tree | d2f8ea813a8be6f44ea143cb6e2849db6d5b19fd /target | |
parent | 10220cd7e986b42cf61086234574dfdafaa5ec8a (diff) | |
download | upstream-354e5cdbe20527e23411d3d1e5e48aa6e08fd846.tar.gz upstream-354e5cdbe20527e23411d3d1e5e48aa6e08fd846.tar.bz2 upstream-354e5cdbe20527e23411d3d1e5e48aa6e08fd846.zip |
oxnas: fix the incorrect board names
Signed-off-by: Shonn Lu <countrysideboy@qq.com>
Acked-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 48337
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/oxnas/base-files/etc/board.d/01_leds | 2 | ||||
-rw-r--r-- | target/linux/oxnas/base-files/etc/diag.sh | 4 | ||||
-rwxr-xr-x | target/linux/oxnas/base-files/lib/oxnas.sh | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/oxnas/base-files/etc/board.d/01_leds b/target/linux/oxnas/base-files/etc/board.d/01_leds index 52da945680..f29ccff7aa 100755 --- a/target/linux/oxnas/base-files/etc/board.d/01_leds +++ b/target/linux/oxnas/base-files/etc/board.d/01_leds @@ -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" ;; diff --git a/target/linux/oxnas/base-files/etc/diag.sh b/target/linux/oxnas/base-files/etc/diag.sh index 5370696b44..8f484ae66e 100644 --- a/target/linux/oxnas/base-files/etc/diag.sh +++ b/target/linux/oxnas/base-files/etc/diag.sh @@ -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 diff --git a/target/linux/oxnas/base-files/lib/oxnas.sh b/target/linux/oxnas/base-files/lib/oxnas.sh index 1a04d558d0..2a07928f76 100755 --- a/target/linux/oxnas/base-files/lib/oxnas.sh +++ b/target/linux/oxnas/base-files/lib/oxnas.sh @@ -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 |