From: Felix Fietkau Date: Sun, 11 Dec 2005 21:34:14 +0000 (+0000) Subject: unlock linux partition before running jffs2root --clean. fixes #97 X-Git-Tag: whiterussian_rc5~299 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=24b3609d2cc01006f7f0b5d1400f92144c71e87e;p=openwrt%2Fsvn-archive%2Fopenwrt.git unlock linux partition before running jffs2root --clean. fixes #97 SVN-Revision: 2614 --- diff --git a/openwrt/package/base-files/default/sbin/mount_root b/openwrt/package/base-files/default/sbin/mount_root index 7bcf80c6f1..9229c9928a 100755 --- a/openwrt/package/base-files/default/sbin/mount_root +++ b/openwrt/package/base-files/default/sbin/mount_root @@ -20,6 +20,7 @@ if [ "$1" != "failsafe" ]; then if [ -z "$(nvram get no_root_swap)" ]; then is_clean || { mtd erase OpenWrt + mtd unlock linux jffs2root --clean } mtd unlock OpenWrt