diff options
author | Luka Perkov <luka@openwrt.org> | 2014-12-19 11:05:13 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-12-19 11:05:13 +0000 |
commit | 6f59aca59adba338fe15c90b2d805fa1f6bdddd7 (patch) | |
tree | 99bcc182a9a50039e5e5d373e6f223a06b1e252b /target/linux | |
parent | 1cdd0f7340296a51f9ff51f51bd0cdfeef7a4ba3 (diff) | |
download | master-187ad058-6f59aca59adba338fe15c90b2d805fa1f6bdddd7.tar.gz master-187ad058-6f59aca59adba338fe15c90b2d805fa1f6bdddd7.tar.bz2 master-187ad058-6f59aca59adba338fe15c90b2d805fa1f6bdddd7.zip |
kirkwood: add *plugs to uci-defaults
Set defaults health led to a timer heartbeet (200/800)
and populate network for:
- GuruplugServerPlus
- SheevaPlug
- SheevaPlug with eSATA
Signed-off-by: Gerald Kerma <dreagle@doukki.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43752 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/kirkwood/base-files/etc/uci-defaults/01_leds | 7 | ||||
-rw-r--r-- | target/linux/kirkwood/base-files/etc/uci-defaults/02_network | 7 |
2 files changed, 14 insertions, 0 deletions
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 41191f7535..51fb4d81fc 100644 --- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds +++ b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds @@ -28,6 +28,13 @@ case "$board" in ucidef_set_led_default "health" "status:green:health" "1" ucidef_set_led_default "fault" "status:orange:fault" "1" ;; +"guruplug-server-plus") + ucidef_set_led_timer "health" "guruplug:red:health" "200" "800" + ;; +"sheevaplug" | \ +"sheevaplug-esata") + ucidef_set_led_timer "health" "sheevaplug:blue:health" "200" "800" + ;; *) ;; esac 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 5b79687784..9fd6845924 100644 --- a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network +++ b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network @@ -62,6 +62,13 @@ case "$board" in add_port_based_vlan "switch0" "1" "0 1 2 3 5" add_port_based_vlan "switch0" "2" "4 6" ;; +"guruplug-server-plus") + set_lan_dhcp "eth0" "eth1" + ;; +"sheevaplug" | \ +"sheevaplug-esata") + set_lan_dhcp "eth0" + ;; *) ucidef_set_interface_lan "eth0" ;; |