projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f59b137
)
unlock linux partition before running jffs2root --clean. fixes #97
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 11 Dec 2005 21:34:46 +0000
(21:34 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 11 Dec 2005 21:34:46 +0000
(21:34 +0000)
SVN-Revision: 2615
openwrt/package/base-files/default/sbin/mount_root
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/sbin/mount_root
b/openwrt/package/base-files/default/sbin/mount_root
index c393e06f39c11ee71896f54f51fa69ec54b6f197..e855b41a1e8c02ef5162b03f46c539edf977e872 100755
(executable)
--- a/
openwrt/package/base-files/default/sbin/mount_root
+++ b/
openwrt/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