2014-11-26 09:00:08 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-12-11 15:26:06 +00:00
|
|
|
. /lib/functions/uci-defaults.sh
|
2014-11-26 09:00:08 +00:00
|
|
|
. /lib/oxnas.sh
|
|
|
|
|
|
|
|
board=$(oxnas_board_name)
|
|
|
|
board_config_update
|
|
|
|
|
|
|
|
case $board in
|
|
|
|
stg-212)
|
|
|
|
ucidef_set_led_default "power" "power" "zyxel:blue:status" "1"
|
|
|
|
ucidef_set_led_usbdev "usb" "USB" "$1" "1-1"
|
|
|
|
;;
|
|
|
|
kd20)
|
|
|
|
ucidef_set_led_default "power" "power" "kd20:blue:status" "1"
|
|
|
|
;;
|
2016-01-18 23:34:42 +00:00
|
|
|
pogoplug-pro | pogoplug-v3)
|
2014-11-26 09:00:08 +00:00
|
|
|
ucidef_set_led_default "power" "power" "pogoplug:blue:internal" "1"
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
board_config_flush
|
|
|
|
|
|
|
|
exit 0
|