mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 21:44:37 +02:00
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
This commit is contained in:
parent
8aa266f828
commit
e5b50a025f
@ -22,6 +22,7 @@ if [ "$1" != "failsafe" ]; then
|
|||||||
if [ -z "$(nvram get no_root_swap)" ]; then
|
if [ -z "$(nvram get no_root_swap)" ]; then
|
||||||
is_clean || {
|
is_clean || {
|
||||||
mtd erase OpenWrt
|
mtd erase OpenWrt
|
||||||
|
mtd unlock linux
|
||||||
jffs2root --clean
|
jffs2root --clean
|
||||||
}
|
}
|
||||||
mtd unlock OpenWrt
|
mtd unlock OpenWrt
|
||||||
|
Loading…
Reference in New Issue
Block a user