From: Felix Fietkau Date: Fri, 28 Jun 2013 11:26:37 +0000 (+0000) Subject: orion: dynamically generate /etc/config/network, the LaCie 2big Network does not... X-Git-Tag: reboot~10123 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=84ad1782f90c5771f1ca6ffd80b72b0317820a8f;p=openwrt%2Fstaging%2Fxback.git orion: dynamically generate /etc/config/network, the LaCie 2big Network does not use DSA Signed-off-by: Felix Fietkau SVN-Revision: 37061 --- diff --git a/target/linux/orion/base-files/etc/config/network b/target/linux/orion/base-files/etc/config/network deleted file mode 100644 index b527a88769..0000000000 --- a/target/linux/orion/base-files/etc/config/network +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (C) 2008 OpenWrt.org - -config interface loopback - option ifname lo - option proto static - option ipaddr 127.0.0.1 - option netmask 255.0.0.0 - -config interface eth0 - option ifname eth0 - -config interface wan - option ifname wan - option proto dhcp - option hostname openwrt - -config interface lan - option ifname "lan1 lan2 lan3 lan4" - option type bridge - option proto static - option ipaddr 192.168.1.1 - option netmask 255.255.255.0 - option ip6assign 60 - -config interface wan6 - option ifname @wan - option proto dhcpv6 - -config globals globals - option ula_prefix auto diff --git a/target/linux/orion/base-files/etc/uci-defaults/10-network b/target/linux/orion/base-files/etc/uci-defaults/10-network new file mode 100644 index 0000000000..3baa679a8b --- /dev/null +++ b/target/linux/orion/base-files/etc/uci-defaults/10-network @@ -0,0 +1,53 @@ +config_simple() { +cat >> /etc/config/network <> /etc/config/network < /etc/config/network <