kirkwood: sort occurrences of boardame alphabetically
[openwrt/openwrt.git] / target / linux / kirkwood / base-files / etc / board.d / 01_leds
index b8a9b47..4e72e34 100755 (executable)
@@ -10,9 +10,9 @@ board_config_update
 board=$(board_name)
 
 case "$board" in
-"seagate,dockstar")
-       ucidef_set_led_default "health" "health" "status:green:health" "1"
-       ucidef_set_led_default "fault" "fault" "status:orange:fault" "1"
+"cloudengines,pogoe02")
+       ucidef_set_led_default "health" "health" "pogo_e02:green:health" "1"
+       ucidef_set_led_default "fault" "fault" "pogo_e02:orange:fault" "1"
        ;;
 "linksys,audi")
        ucidef_set_led_default "power" "power" "audi:green:power" "1"
@@ -21,18 +21,18 @@ case "$board" in
        ucidef_set_led_default "health" "health" "viper:white:health" "1"
        ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1"
        ;;
-"seagate,goflexhome" | \
-"seagate,goflexnet")
-       ucidef_set_led_default "health" "health" "status:green:health" "1"
-       ucidef_set_led_default "fault" "fault" "status:orange:fault" "0"
-       ;;
 "raidsonic,ib-nas62x0")
        ucidef_set_led_default "health" "health" "ib62x0:green:os" "1"
        ucidef_set_led_default "fault" "fault" "ib62x0:red:os" "1"
        ;;
-"cloudengines,pogoe02")
-       ucidef_set_led_default "health" "health" "pogo_e02:green:health" "1"
-       ucidef_set_led_default "fault" "fault" "pogo_e02:orange:fault" "1"
+"seagate,dockstar")
+       ucidef_set_led_default "health" "health" "status:green:health" "1"
+       ucidef_set_led_default "fault" "fault" "status:orange:fault" "1"
+       ;;
+"seagate,goflexhome"|\
+"seagate,goflexnet")
+       ucidef_set_led_default "health" "health" "status:green:health" "1"
+       ucidef_set_led_default "fault" "fault" "status:orange:fault" "0"
        ;;
 "zyxel,nsa310b")
        ucidef_set_led_default "health" "health" "nsa310:green:sys" "1"
@@ -46,8 +46,6 @@ case "$board" in
        ucidef_set_led_ataport "hdd1" "HDD1" "nsa325:green:sata1" "1"
        ucidef_set_led_ataport "hdd2" "HDD2" "nsa325:green:sata2" "2"
        ;;
-*)
-       ;;
 esac
 
 board_config_flush