aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/base-files/etc
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2016-04-19 20:12:41 +0000
committerHauke Mehrtens <hauke@openwrt.org>2016-04-19 20:12:41 +0000
commite345dfc179fcd931370d3ca0f6df194450746e2d (patch)
tree7ecc0a0e955cdf1c1aea3f031d550684122497e5 /target/linux/oxnas/base-files/etc
parent637a820c24affbcf26cd746fb96580669801a52d (diff)
downloadmaster-187ad058-e345dfc179fcd931370d3ca0f6df194450746e2d.tar.gz
master-187ad058-e345dfc179fcd931370d3ca0f6df194450746e2d.tar.bz2
master-187ad058-e345dfc179fcd931370d3ca0f6df194450746e2d.zip
oxnas: add support for Akitio MyCloud mini
Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49197 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/oxnas/base-files/etc')
-rwxr-xr-xtarget/linux/oxnas/base-files/etc/board.d/01_leds3
-rw-r--r--target/linux/oxnas/base-files/etc/diag.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/oxnas/base-files/etc/board.d/01_leds b/target/linux/oxnas/base-files/etc/board.d/01_leds
index af565d7031..b4b598cc40 100755
--- a/target/linux/oxnas/base-files/etc/board.d/01_leds
+++ b/target/linux/oxnas/base-files/etc/board.d/01_leds
@@ -7,6 +7,9 @@ board=$(oxnas_board_name)
board_config_update
case $board in
+ akitio)
+ ucidef_set_led_default "status" "status" "akitio:red:status" "0"
+ ;;
stg212)
ucidef_set_led_default "power" "power" "zyxel:blue:status" "1"
ucidef_set_led_usbdev "usb" "USB" "zyxel:orange:copy" "1-1"
diff --git a/target/linux/oxnas/base-files/etc/diag.sh b/target/linux/oxnas/base-files/etc/diag.sh
index 5aec796cb2..51771f3ea6 100644
--- a/target/linux/oxnas/base-files/etc/diag.sh
+++ b/target/linux/oxnas/base-files/etc/diag.sh
@@ -6,6 +6,9 @@
get_status_led() {
case $(oxnas_board_name) in
+ akitio)
+ status_led="akitio:red:status"
+ ;;
stg212)
status_led="zyxel:blue:status"
;;