summaryrefslogtreecommitdiff
path: root/target/linux/ifxmips/nfs/base-files/etc
diff options
context:
space:
mode:
authorthl <thl@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-20 18:31:00 +0000
committerthl <thl@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-20 18:31:00 +0000
commit49b34728f956238c5fdbec568be0247fb8be95c6 (patch)
treec27e65457073e14fccdb143d901b02f5c64dd2ad /target/linux/ifxmips/nfs/base-files/etc
parent54b8671bd25722d397706ab1ef82ffc1faed6d06 (diff)
[ifxmips] some cleanups:
- fix CPUID detection - update MTD map for checks and sysupgrade - enable subtargets (Generic&NFS) for simpler development - generic cleanups (e.g. from linux checkpatch.pl) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13295 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/nfs/base-files/etc')
-rw-r--r--target/linux/ifxmips/nfs/base-files/etc/config/network7
-rwxr-xr-xtarget/linux/ifxmips/nfs/base-files/etc/preinit.arch3
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ifxmips/nfs/base-files/etc/config/network b/target/linux/ifxmips/nfs/base-files/etc/config/network
new file mode 100644
index 0000000000..f2e8a5ecd5
--- /dev/null
+++ b/target/linux/ifxmips/nfs/base-files/etc/config/network
@@ -0,0 +1,7 @@
+# Copyright (C) 2006 OpenWrt.org
+
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
diff --git a/target/linux/ifxmips/nfs/base-files/etc/preinit.arch b/target/linux/ifxmips/nfs/base-files/etc/preinit.arch
new file mode 100755
index 0000000000..61662bc21d
--- /dev/null
+++ b/target/linux/ifxmips/nfs/base-files/etc/preinit.arch
@@ -0,0 +1,3 @@
+
+echo "- init nfs -"
+exec /sbin/init