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
|
|
|
|
2017-05-12 20:36:07 +00:00
|
|
|
board=$(board_name)
|
2014-11-26 09:00:08 +00:00
|
|
|
board_config_update
|
|
|
|
|
|
|
|
case $board in
|
2018-11-04 17:22:33 +00:00
|
|
|
"akitio,myloud")
|
2016-04-19 20:12:41 +00:00
|
|
|
ucidef_set_led_default "status" "status" "akitio:red:status" "0"
|
|
|
|
;;
|
2018-11-04 17:22:33 +00:00
|
|
|
"mitrastar,stg-212")
|
2014-11-26 09:00:08 +00:00
|
|
|
ucidef_set_led_default "power" "power" "zyxel:blue:status" "1"
|
2016-01-20 19:11:48 +00:00
|
|
|
ucidef_set_led_usbdev "usb" "USB" "zyxel:orange:copy" "1-1"
|
2014-11-26 09:00:08 +00:00
|
|
|
;;
|
2018-11-04 17:22:33 +00:00
|
|
|
"shuttle,kd20")
|
2014-11-26 09:00:08 +00:00
|
|
|
ucidef_set_led_default "power" "power" "kd20:blue:status" "1"
|
|
|
|
;;
|
2018-11-04 17:22:33 +00:00
|
|
|
"cloudengines,pogoplug"*)
|
2014-11-26 09:00:08 +00:00
|
|
|
ucidef_set_led_default "power" "power" "pogoplug:blue:internal" "1"
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
board_config_flush
|
|
|
|
|
|
|
|
exit 0
|