diff options
author | Luka Perkov <luka@openwrt.org> | 2015-05-08 20:12:39 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2015-05-08 20:12:39 +0000 |
commit | 7437be53bae03b3d3ee5c3b32ad9f159834d9452 (patch) | |
tree | 84cb8c3be9643fe4382d1072c4e8dd527314be71 /target/linux/kirkwood/base-files | |
parent | 7b01a650f8ad8d22c360d359432ffe5365bbee4f (diff) | |
download | mtk-20170518-7437be53bae03b3d3ee5c3b32ad9f159834d9452.zip mtk-20170518-7437be53bae03b3d3ee5c3b32ad9f159834d9452.tar.gz mtk-20170518-7437be53bae03b3d3ee5c3b32ad9f159834d9452.tar.bz2 |
kirkwood: add support for the Seagate GoflexHome
Add Support for the Seagate GoflexHome <http://wiki.openwrt.org/toh/seagate/goflexhome>
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 45647
Diffstat (limited to 'target/linux/kirkwood/base-files')
4 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/kirkwood/base-files/etc/diag.sh b/target/linux/kirkwood/base-files/etc/diag.sh index 29445d5..716e6c9 100755 --- a/target/linux/kirkwood/base-files/etc/diag.sh +++ b/target/linux/kirkwood/base-files/etc/diag.sh @@ -7,6 +7,7 @@ get_status_led() { case $(kirkwood_board_name) in dockstar|\ + goflexhome|\ goflexnet|\ pogo_e02) status_led="status:orange:fault" diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds index 0f7a906..a8ba1f6 100644 --- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds +++ b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds @@ -20,6 +20,7 @@ case "$board" in ucidef_set_led_default "health" "health" "ea4500:white:health" "1" ucidef_set_led_default "pulse" "pulse" "ea4500:white:pulse" "1" ;; +"goflexhome" | \ "goflexnet") ucidef_set_led_default "health" "health" "status:green:health" "1" ucidef_set_led_default "fault" "fault" "status:orange:fault" "0" diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network index 4ed0ab4..f0628cd 100644 --- a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network +++ b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network @@ -29,6 +29,7 @@ ucidef_set_interface_loopback case "$board" in "dockstar"|\ +"goflexhome"|\ "goflexnet"|\ "iconnect"|\ "ib62x0"|\ diff --git a/target/linux/kirkwood/base-files/lib/kirkwood.sh b/target/linux/kirkwood/base-files/lib/kirkwood.sh index c088581..aa16daf4 100755 --- a/target/linux/kirkwood/base-files/lib/kirkwood.sh +++ b/target/linux/kirkwood/base-files/lib/kirkwood.sh @@ -17,6 +17,10 @@ kirkwood_board_detect() { name="dockstar" ;; + "Seagate GoFlex Home") + name="goflexhome" + ;; + "Seagate GoFlex Net") name="goflexnet" ;; |