unlock linux partition in mount_root

SVN-Revision: 547
This commit is contained in:
Felix Fietkau 2005-04-03 20:34:22 +00:00
parent 2828d86cc6
commit 2333ec43a8

View File

@ -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