projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652da7d
)
unlock linux partition before running jffs2root --clean. fixes #97
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 11 Dec 2005 21:34:14 +0000
(21:34 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 11 Dec 2005 21:34:14 +0000
(21:34 +0000)
SVN-Revision: 2614
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 7bcf80c6f1234e4e50308cc3c4a47742c121f604..9229c9928ab431d8599943136ef7bc244123198b 100755
(executable)
--- a/
openwrt/package/base-files/default/sbin/mount_root
+++ b/
openwrt/package/base-files/default/sbin/mount_root
@@
-20,6
+20,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