summaryrefslogtreecommitdiff
path: root/root
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2004-05-11 04:02:51 +0000
committerMike Baker <mbm@openwrt.org>2004-05-11 04:02:51 +0000
commite8dd6181528e88f8bc644c8da7d346c898a26433 (patch)
tree8a28cd5f0111799708529fbdc134d85c1a5c5f2d /root
parent421c9202a3d21cebc433588da1bdc2e7e00ac9e9 (diff)
downloadmtk-20170518-e8dd6181528e88f8bc644c8da7d346c898a26433.zip
mtk-20170518-e8dd6181528e88f8bc644c8da7d346c898a26433.tar.gz
mtk-20170518-e8dd6181528e88f8bc644c8da7d346c898a26433.tar.bz2
we still need mtd unlock
SVN-Revision: 28
Diffstat (limited to 'root')
-rwxr-xr-xroot/etc/preinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/root/etc/preinit b/root/etc/preinit
index f37c02b..6cb37c2 100755
--- a/root/etc/preinit
+++ b/root/etc/preinit
@@ -2,7 +2,7 @@
mount none /proc -t proc
insmod diag
echo 0x01 > /proc/sys/diag
-sleep 1
+mtd unlock mtd4
if /sbin/resetmon ; then
mount -t jffs2 /dev/mtdblock/4 /jffs
pivot_root /jffs /jffs/rom