From: Mike Baker Date: Tue, 1 Mar 2005 06:56:22 +0000 (+0000) Subject: bugfix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=658019abd02f01fd32946cba8cea7f30b79954f7;p=openwrt%2Fstaging%2Fnbd.git bugfix SVN-Revision: 297 --- diff --git a/openwrt/target/default/target_skeleton/etc/preinit b/openwrt/target/default/target_skeleton/etc/preinit index 30c025be29..01df205831 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