diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-01 06:56:22 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-01 06:56:22 +0000 |
commit | 0be9a62a40a0ffce58d0800cfd530ab88f1d8c62 (patch) | |
tree | 2c14bedc8e036cd7e4070f31d843d0db4795a4ba /openwrt/target/default/target_skeleton/etc/preinit | |
parent | bec201651bd011a9f7bb56e82ab8eca554ba9d6a (diff) |
bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@297 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/default/target_skeleton/etc/preinit')
-rwxr-xr-x | openwrt/target/default/target_skeleton/etc/preinit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/preinit b/openwrt/target/default/target_skeleton/etc/preinit index 30c025be2..01df20583 100755 --- a/openwrt/target/default/target_skeleton/etc/preinit +++ b/openwrt/target/default/target_skeleton/etc/preinit @@ -1,6 +1,5 @@ #!/bin/sh mount none /proc -t proc -mount none /tmp -t ramfs insmod diag echo 0x01 > /proc/sys/diag sleep 1 @@ -17,7 +16,8 @@ else pivot_root /jffs /jffs/rom mount none /dev -t devfs mount none /proc -t proc - umount rom/proc + umount rom/proc rom/dev fi fi +mount none /tmp -t ramfs exec /sbin/init |