bugfix
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 1 Mar 2005 06:56:22 +0000 (06:56 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 1 Mar 2005 06:56:22 +0000 (06:56 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@297 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/target/default/target_skeleton/etc/preinit

index 30c025b..01df205 100755 (executable)
@@ -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
This page took 0.022456 seconds and 4 git commands to generate.