[OpenWrt-Devel] [PATCH 1/1] kikwood: populate network with new boards

Gerald Kerma dreagle at doukki.net
Fri Dec 19 02:09:55 EST 2014


- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus

Signed-off-by: Gerald Kerma <dreagle at doukki.net>
---
 target/linux/kirkwood/base-files/etc/uci-defaults/02_network | 9 +++++++++
 1 file changed, 9 insertions(+)

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 5b79687..ae8161c 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,15 @@ 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")
+	set_lan_dhcp "eth0"
+	;;
+"sheevaplug-esata")
+	set_lan_dhcp "eth0"
+	;;
 *)
 	ucidef_set_interface_lan "eth0"
 	;;
-- 
2.1.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list