summaryrefslogtreecommitdiffstats
path: root/target/linux/x86-2.6/base-files/default
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-03 22:32:13 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-03 22:32:13 +0000
commit1ce8862ab409526a36936eb93db4e23ad92e3b79 (patch)
tree5ce3e989986e46d9b2cf1a0bcbd1adb6696ba92f /target/linux/x86-2.6/base-files/default
parentc35ce18c298ee75f599d413fb6872a0f317caeb2 (diff)
add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6481 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86-2.6/base-files/default')
-rw-r--r--target/linux/x86-2.6/base-files/default/etc/preinit.arch2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/x86-2.6/base-files/default/etc/preinit.arch b/target/linux/x86-2.6/base-files/default/etc/preinit.arch
new file mode 100644
index 000000000..f29f0d448
--- /dev/null
+++ b/target/linux/x86-2.6/base-files/default/etc/preinit.arch
@@ -0,0 +1,2 @@
+mount -t proc none /proc
+grep 'failsafe=' /proc/cmdline && export FAILSAFE=true