diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-06-07 23:59:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-06-07 23:59:04 +0000 |
commit | 0a58a0f00e8fc468339052d90dce4f3ef8361837 (patch) | |
tree | e729abf7b4d3fdcd056cd7b07d586a3739c08c7d /target/linux/generic-2.6/files | |
parent | 435bd1f20adba3da6b2e8ee426947bc7d3d126fd (diff) | |
download | upstream-0a58a0f00e8fc468339052d90dce4f3ef8361837.tar.gz upstream-0a58a0f00e8fc468339052d90dce4f3ef8361837.tar.bz2 upstream-0a58a0f00e8fc468339052d90dce4f3ef8361837.zip |
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')
-rwxr-xr-x | target/linux/generic-2.6/files/init | 3 | ||||
-rwxr-xr-x | target/linux/generic-2.6/files/init.d/S00initramfs | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/init b/target/linux/generic-2.6/files/init new file mode 100755 index 0000000000..8ca48a04c1 --- /dev/null +++ b/target/linux/generic-2.6/files/init @@ -0,0 +1,3 @@ +#!/bin/ash +mount none /dev -t devfs +exec /bin/busybox init 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 / |