diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-11 21:34:46 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-11 21:34:46 +0000 |
commit | e5b50a025f2fbc9b038e8600541551c1decba998 (patch) | |
tree | 0a55da53bb00731ef4b33ba4709ec2dcbbe0225e /package/base-files/default | |
parent | 8aa266f828a40ac685da11c90d036fe9a988d77b (diff) |
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
Diffstat (limited to 'package/base-files/default')
-rwxr-xr-x | package/base-files/default/sbin/mount_root | 1 |
1 files changed, 1 insertions, 0 deletions
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 |