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
Do not overload mount-call - trying to reduce confusion
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files
/
lib
/
firstboot
/
30_is_rootfs_mounted
diff --git
a/package/base-files/files/lib/firstboot/30_is_rootfs_mounted
b/package/base-files/files/lib/firstboot/30_is_rootfs_mounted
index e2ba01d502e153c58b7ea4df344cd7f13c13ab77..7233fd9039eb00dcaf7bbb45b4af8fc54c116cef 100644
(file)
--- a/
package/base-files/files/lib/firstboot/30_is_rootfs_mounted
+++ b/
package/base-files/files/lib/firstboot/30_is_rootfs_mounted
@@
-4,7
+4,7
@@
# Copyright (C) 2010 Vertical Communications
skip_if_rootfs_mounted() {
- mount
"$mtdpart" /rom/overlay -t jffs2
|| exit
+ mount
-o noatime -t jffs2 "$mtdpart" /rom/overlay
|| exit
}
boot_hook_add switch2jffs skip_if_rootfs_mounted