summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/files/init.d/S00initramfs
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-07 23:59:04 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-07 23:59:04 +0000
commit9f1c46026440e9954a88ee8843362d9cffd8ad87 (patch)
treee729abf7b4d3fdcd056cd7b07d586a3739c08c7d /target/linux/generic-2.6/files/init.d/S00initramfs
parentd953b29fb3944a7381c7398f8eb51347d63714ed (diff)
make ramdisk support generic, some cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3911 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files/init.d/S00initramfs')
-rwxr-xr-xtarget/linux/generic-2.6/files/init.d/S00initramfs4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/init.d/S00initramfs b/target/linux/generic-2.6/files/init.d/S00initramfs
new file mode 100755
index 0000000000..9836de423b
--- /dev/null
+++ b/target/linux/generic-2.6/files/init.d/S00initramfs
@@ -0,0 +1,4 @@
+#!/bin/sh
+mount none /proc -t proc
+mount_root failsafe
+mount -o remount,rw /dev/root /