unlock linux partition in mount_root
[openwrt-10.03/.git] / 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