projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2828d86
)
unlock linux partition in mount_root
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 3 Apr 2005 20:34:22 +0000
(20:34 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 3 Apr 2005 20:34:22 +0000
(20:34 +0000)
SVN-Revision: 547
openwrt/target/default/target_skeleton/sbin/mount_root
patch
|
blob
|
history
diff --git
a/openwrt/target/default/target_skeleton/sbin/mount_root
b/openwrt/target/default/target_skeleton/sbin/mount_root
index db73eaed50996593fdbcb04409a3e2fe59c84684..b15d6b9e7cc1b2790ecbb951a52319011627567d 100755
(executable)
--- a/
openwrt/target/default/target_skeleton/sbin/mount_root
+++ b/
openwrt/target/default/target_skeleton/sbin/mount_root
@@
-2,6
+2,7
@@
if [ "$1" != "failsafe" ]; then
mount | grep jffs2 >&-
if [ $? = 0 ] ; then
+ mtd unlock linux
mtd unlock rootfs
[ $(cat /proc/mtd | wc -l) = 6 ] && {
echo 5 > /proc/sys/diag