aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-05-08 20:12:39 +0000
committerLuka Perkov <luka@openwrt.org>2015-05-08 20:12:39 +0000
commite02256fdd9cd2ce1a5283971db7d148c4a2e0d57 (patch)
treebfe078a4cfc317c8b599fc0b43a40bc562ca25cb /target/linux/kirkwood/base-files
parentecaa0233e126c4a9a774ef50c6faa7e3cec973ae (diff)
downloadupstream-e02256fdd9cd2ce1a5283971db7d148c4a2e0d57.tar.gz
upstream-e02256fdd9cd2ce1a5283971db7d148c4a2e0d57.tar.bz2
upstream-e02256fdd9cd2ce1a5283971db7d148c4a2e0d57.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45647 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/kirkwood/base-files')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/diag.sh1
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/01_leds1
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/kirkwood/base-files/lib/kirkwood.sh4
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 29445d5d0d..716e6c9fbf 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 0f7a906b09..a8ba1f6c3d 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 4ed0ab497a..f0628cd618 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 c088581215..aa16daf4c0 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"
;;