unlock linux partition before running jffs2root --clean. fixes #97
SVN-Revision: 2615
This commit is contained in:
parent
f59b137053
commit
dae8543335
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue