kirkwood: add ZyXEL NSA325 device
[openwrt/openwrt.git] / target / linux / kirkwood / base-files / etc / board.d / 01_leds
index 9e84d8bb202e1d545ea23cdc1413dfa3722b3dbc..e6da9fd49a045c0b4eccc311a9d039771773b48e 100755 (executable)
@@ -3,7 +3,7 @@
 # Copyright (C) 2012-2015 OpenWrt.org
 #
 
-. /lib/functions/uci-defaults-new.sh
+. /lib/functions/uci-defaults.sh
 . /lib/kirkwood.sh
 
 board_config_update
@@ -38,6 +38,12 @@ case "$board" in
 "guruplug-server-plus")
        ucidef_set_led_timer "health" "health" "guruplug:red:health" "200" "800"
        ;;
+"nsa310b")
+       ucidef_set_led_default "health" "health" "nsa310:green:sys" "1"
+       ;;
+"nsa325")
+       ucidef_set_led_default "health" "health" "nsa325:green:sys" "1"
+       ;;
 "sheevaplug" | \
 "sheevaplug-esata")
        ucidef_set_led_timer "health" "health" "sheevaplug:blue:health" "200" "800"