projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unified preinit environment
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files
/
bin
/
firstboot
diff --git
a/package/base-files/files/bin/firstboot
b/package/base-files/files/bin/firstboot
index ef2ba5733bb4da6217d97d1a1658104e291e900f..267e6732d96a716508d620d14fdce89e9b79558d 100755
(executable)
--- a/
package/base-files/files/bin/firstboot
+++ b/
package/base-files/files/bin/firstboot
@@
-79,8
+79,6
@@
ramoverlay() {
}
[ "$1" = "switch2jffs" ] && {
- mtd erase "$partname"
-
# try to avoid fs changing while copying
mount -o remount,ro none / 2>&-
@@
-103,8
+101,6
@@
ramoverlay() {
# this will almost always fail
umount /tmp/root 2>&-
- # fs is clean
- jffs2root --clean
exit 0
}