Author: luka Date: 2014-12-19 12:05:13 +0100 (Fri, 19 Dec 2014) New Revision: 43752
Modified: trunk/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds trunk/target/linux/kirkwood/base-files/etc/uci-defaults/02_network Log: 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 <[email protected]> Modified: trunk/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds =================================================================== --- trunk/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds 2014-12-18 18:38:43 UTC (rev 43751) +++ trunk/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds 2014-12-19 11:05:13 UTC (rev 43752) @@ -28,6 +28,13 @@ 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 Modified: trunk/target/linux/kirkwood/base-files/etc/uci-defaults/02_network =================================================================== --- trunk/target/linux/kirkwood/base-files/etc/uci-defaults/02_network 2014-12-18 18:38:43 UTC (rev 43751) +++ trunk/target/linux/kirkwood/base-files/etc/uci-defaults/02_network 2014-12-19 11:05:13 UTC (rev 43752) @@ -62,6 +62,13 @@ 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" ;; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
