From patchwork Fri Dec 19 07:09:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: DrEagle X-Patchwork-Id: 422774 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 701EA1400A0 for ; Fri, 19 Dec 2014 18:10:24 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 5574B28168B; Fri, 19 Dec 2014 08:08:23 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id DF95828064B for ; Fri, 19 Dec 2014 08:08:12 +0100 (CET) X-policyd-weight: using cached result; rate:hard: -7.6 Received: from village.gk2.net (village.gk2.net [109.190.23.135]) by arrakis.dune.hu (Postfix) with ESMTP for ; Fri, 19 Dec 2014 08:08:12 +0100 (CET) Received: from BARATARIA.nation.gk2.net (VILLAGE.nation.gk2.net [192.168.1.254]) by village.gk2.net (Postfix) with ESMTPSA id 843FF207E8; Fri, 19 Dec 2014 08:10:03 +0100 (CET) From: Gerald Kerma To: openwrt-devel@lists.openwrt.org Date: Fri, 19 Dec 2014 08:09:55 +0100 Message-Id: <1418972995-17305-1-git-send-email-dreagle@doukki.net> X-Mailer: git-send-email 2.1.3 Cc: luka@openwrt.org Subject: [OpenWrt-Devel] [PATCH 1/1] kikwood: populate network with new boards X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" - SheevaPlug - SheevaPlug with eSATA - GuruplugServerPlus Signed-off-by: Gerald Kerma --- 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" ;;