From e5b50a025f2fbc9b038e8600541551c1decba998 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 11 Dec 2005 21:34:46 +0000 Subject: unlock linux partition before running jffs2root --clean. fixes #97 git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2615 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/default/sbin/mount_root | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files') diff --git a/package/base-files/default/sbin/mount_root b/package/base-files/default/sbin/mount_root index c393e06f3..e855b41a1 100755 --- a/package/base-files/default/sbin/mount_root +++ b/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 -- cgit v1.2.3