unlock linux partition in mount_root
authorFelix Fietkau <nbd@openwrt.org>
Sun, 3 Apr 2005 20:34:22 +0000 (20:34 +0000)
committerFelix 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

index db73eaed50996593fdbcb04409a3e2fe59c84684..b15d6b9e7cc1b2790ecbb951a52319011627567d 100755 (executable)
@@ -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