summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-05-09 21:43:28 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-05-09 21:43:28 +0000
commit9e3c857810f24ecda194771ee2ac15f0a140b5f1 (patch)
tree9ffe18f74aeca8ab5256282785054184a6f5e07f
parent1aefc9369e4ed98aed4b1344f8dcde2b0a76eb05 (diff)
temporary hack: delay resetmon checking by 1 sec
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xroot/etc/preinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/root/etc/preinit b/root/etc/preinit
index ccd3ab5be..f9bfd44b6 100755
--- a/root/etc/preinit
+++ b/root/etc/preinit
@@ -1,6 +1,7 @@
#!/bin/sh
mount none /proc -t proc
mtd unlock mtd4
+sleep 1
if /sbin/resetmon ; then
mount -t jffs2 /dev/mtdblock/4 /jffs
pivot_root /jffs /jffs/rom