From d14e600447be310e55e1e5c87219d0d341172605 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Thu, 12 Feb 2015 14:39:26 +0000 Subject: kirkwood: Seagate GoFlex Net Add GoFlex Net "Board Name" , set and cleanup network default and LEDs. Remove kmod-rtc-marvell from default packages, as the GoFlex net does not have a RTC. Signed-off-by: L. D. Pinney git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44422 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/kirkwood/base-files/etc/diag.sh | 5 +++++ target/linux/kirkwood/base-files/etc/uci-defaults/01_leds | 4 ++++ .../linux/kirkwood/base-files/etc/uci-defaults/02_network | 13 ++++--------- 3 files changed, 13 insertions(+), 9 deletions(-) mode change 100644 => 100755 target/linux/kirkwood/base-files/etc/diag.sh (limited to 'target/linux/kirkwood/base-files/etc') diff --git a/target/linux/kirkwood/base-files/etc/diag.sh b/target/linux/kirkwood/base-files/etc/diag.sh old mode 100644 new mode 100755 index b2bb5835ae..29445d5d0d --- a/target/linux/kirkwood/base-files/etc/diag.sh +++ b/target/linux/kirkwood/base-files/etc/diag.sh @@ -6,6 +6,11 @@ get_status_led() { case $(kirkwood_board_name) in + dockstar|\ + goflexnet|\ + pogo_e02) + status_led="status:orange:fault" + ;; ea4500) status_led="ea4500:white:health" ;; 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 ba4d569609..0f7a906b09 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,10 @@ case "$board" in ucidef_set_led_default "health" "health" "ea4500:white:health" "1" ucidef_set_led_default "pulse" "pulse" "ea4500:white:pulse" "1" ;; +"goflexnet") + ucidef_set_led_default "health" "health" "status:green:health" "1" + ucidef_set_led_default "fault" "fault" "status:orange:fault" "0" + ;; "ib62x0") ucidef_set_led_default "health" "health" "ib62x0:green:os" "1" ucidef_set_led_default "fault" "fault" "ib62x0:red:os" "1" 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 540c8c33ce..4ed0ab497a 100644 --- a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network +++ b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network @@ -28,15 +28,10 @@ board=$(kirkwood_board_name) ucidef_set_interface_loopback case "$board" in -"dockstar") - set_lan_dhcp "eth0" - ;; -"iconnect") - set_lan_dhcp "eth0" - ;; -"ib62x0") - set_lan_dhcp "eth0" - ;; +"dockstar"|\ +"goflexnet"|\ +"iconnect"|\ +"ib62x0"|\ "pogo_e02") set_lan_dhcp "eth0" ;; -- cgit v1.2.3