From: Felix Fietkau Date: Sun, 11 Dec 2005 21:34:46 +0000 (+0000) Subject: unlock linux partition before running jffs2root --clean. fixes #97 X-Git-Tag: reboot~31542 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dae8543335ed323acc294447be51ba8528c8071f;p=oweals%2Fopenwrt.git unlock linux partition before running jffs2root --clean. fixes #97 SVN-Revision: 2615 --- diff --git a/openwrt/package/base-files/default/sbin/mount_root b/openwrt/package/base-files/default/sbin/mount_root index c393e06f39..e855b41a1e 100755 --- a/openwrt/package/base-files/default/sbin/mount_root +++ b/openwrt/package/base-files/default/sbin/mount_root @@ -22,6 +22,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