unlock linux partition before running jffs2root --clean. fixes #97
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 11 Dec 2005 21:34:46 +0000 (21:34 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 11 Dec 2005 21:34:46 +0000 (21:34 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2615 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/default/sbin/mount_root

index c393e06..e855b41 100755 (executable)
@@ -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
This page took 0.02348 seconds and 4 git commands to generate.