summaryrefslogtreecommitdiff
path: root/root
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2004-05-09 21:43:28 +0000
committerMike Baker <mbm@openwrt.org>2004-05-09 21:43:28 +0000
commit356271aaa4425b5fa5383efc5a5603daf983ad1e (patch)
tree9ffe18f74aeca8ab5256282785054184a6f5e07f /root
parentf70e91170a9856249d837d8ed983e6a79e3852f4 (diff)
downloadmtk-20170518-356271aaa4425b5fa5383efc5a5603daf983ad1e.zip
mtk-20170518-356271aaa4425b5fa5383efc5a5603daf983ad1e.tar.gz
mtk-20170518-356271aaa4425b5fa5383efc5a5603daf983ad1e.tar.bz2
temporary hack: delay resetmon checking by 1 sec
SVN-Revision: 21
Diffstat (limited to 'root')
-rwxr-xr-xroot/etc/preinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/root/etc/preinit b/root/etc/preinit
index ccd3ab5..f9bfd44 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