aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/base-files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-08-05 13:42:36 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-08-05 13:42:36 +0000
commita9a2a5146a5127af6d72d9e1b2b66e850d7e531c (patch)
tree5417369058e88f377690c9a6a00133799e86ff80 /target/linux/rdc/base-files
parent3785877557e4c6ac890f6ef5e57e126316f4443f (diff)
downloadupstream-a9a2a5146a5127af6d72d9e1b2b66e850d7e531c.tar.gz
upstream-a9a2a5146a5127af6d72d9e1b2b66e850d7e531c.tar.bz2
upstream-a9a2a5146a5127af6d72d9e1b2b66e850d7e531c.zip
Reinstate rdc bootability and force it to use init=/etc/preinit, thus the remove the hackish SetInitramfs actions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12136 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/base-files')
-rw-r--r--target/linux/rdc/base-files/etc/config/network19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/rdc/base-files/etc/config/network b/target/linux/rdc/base-files/etc/config/network
new file mode 100644
index 0000000000..4e55afd9b1
--- /dev/null
+++ b/target/linux/rdc/base-files/etc/config/network
@@ -0,0 +1,19 @@
+# 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 lan
+ option ifname eth1
+ option type bridge
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
+
+config interface wan
+ option ifname eth0
+ option proto dhcp
+