aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-12-28 10:18:48 +0100
committerMathias Kresin <dev@kresin.me>2018-01-09 22:06:55 +0100
commitc9e2c35f46346fc460a78b8f13b70d538c47cb27 (patch)
treee8def2744bc1f68beeee290eadd6ee55787968e4 /target/linux/kirkwood/base-files/etc/board.d/01_leds
parentaa6f5f1787a69c8b9af7533010f2d099075d9826 (diff)
downloadupstream-c9e2c35f46346fc460a78b8f13b70d538c47cb27.tar.gz
upstream-c9e2c35f46346fc460a78b8f13b70d538c47cb27.tar.bz2
upstream-c9e2c35f46346fc460a78b8f13b70d538c47cb27.zip
kirkwood: use the generic board detect
Drop the target specific detection function in favour of the generic one provided by base-files. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/board.d/01_leds18
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/kirkwood/base-files/etc/board.d/01_leds b/target/linux/kirkwood/base-files/etc/board.d/01_leds
index a0b4eca04f..b8a9b479e4 100755
--- a/target/linux/kirkwood/base-files/etc/board.d/01_leds
+++ b/target/linux/kirkwood/base-files/etc/board.d/01_leds
@@ -10,37 +10,37 @@ board_config_update
board=$(board_name)
case "$board" in
-"dockstar")
+"seagate,dockstar")
ucidef_set_led_default "health" "health" "status:green:health" "1"
ucidef_set_led_default "fault" "fault" "status:orange:fault" "1"
;;
-"linksys-audi")
+"linksys,audi")
ucidef_set_led_default "power" "power" "audi:green:power" "1"
;;
-"linksys-viper")
+"linksys,viper")
ucidef_set_led_default "health" "health" "viper:white:health" "1"
ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1"
;;
-"goflexhome" | \
-"goflexnet")
+"seagate,goflexhome" | \
+"seagate,goflexnet")
ucidef_set_led_default "health" "health" "status:green:health" "1"
ucidef_set_led_default "fault" "fault" "status:orange:fault" "0"
;;
-"ib62x0")
+"raidsonic,ib-nas62x0")
ucidef_set_led_default "health" "health" "ib62x0:green:os" "1"
ucidef_set_led_default "fault" "fault" "ib62x0:red:os" "1"
;;
-"pogo_e02")
+"cloudengines,pogoe02")
ucidef_set_led_default "health" "health" "pogo_e02:green:health" "1"
ucidef_set_led_default "fault" "fault" "pogo_e02:orange:fault" "1"
;;
-"nsa310b")
+"zyxel,nsa310b")
ucidef_set_led_default "health" "health" "nsa310:green:sys" "1"
ucidef_set_led_usbhost "usb" "USB" "nsa310:green:usb"
ucidef_set_led_ataport "hdd" "HDD" "nsa310:green:hdd" "1"
ucidef_set_led_ataport "esata" "eSata" "nsa310:green:esata" "2"
;;
-"nsa325")
+"zyxel,nsa325")
ucidef_set_led_default "health" "health" "nsa325:green:sys" "1"
ucidef_set_led_usbhost "usb" "USB" "nsa325:green:usb"
ucidef_set_led_ataport "hdd1" "HDD1" "nsa325:green:sata1" "1"