reverted to fix mtd glitch
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 11 Jul 2004 09:09:59 +0000 (09:09 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 11 Jul 2004 09:09:59 +0000 (09:09 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@85 3c298f89-4303-0410-b956-a3cf2f4a3e73

root/etc/preinit

index 099d2dc..25fedc1 100755 (executable)
@@ -4,8 +4,8 @@ insmod diag
 echo 0x01 > /proc/sys/diag
 sleep 1
 if /sbin/resetmon ; then
-  mount -t jffs2 /dev/mtdblock/4 /jffs && \
-  mtd unlock mtd4 &
+  mtd unlock mtd4
+  mount -t jffs2 /dev/mtdblock/4 /jffs
   pivot_root /jffs /jffs/rom
   mount none /dev -t devfs
   mount none /proc -t proc
This page took 0.024668 seconds and 4 git commands to generate.