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>

SVN-Revision: 43752
This commit is contained in:
Luka Perkov 2014-12-19 11:05:13 +00:00
parent 39743e45f8
commit 873202fc0b
2 changed files with 14 additions and 0 deletions

View file

@ -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

View file

@ -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"
;;