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
change from /jffs to /overlay, patch from Daniel Dickinson
[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 7c3fe6c4c83f3607a4fc9172ebbe64d6bb3c915a..e2ba01d502e153c58b7ea4df344cd7f13c13ab77 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/
jffs
-t jffs2 || exit
+ mount "$mtdpart" /rom/
overlay
-t jffs2 || exit
}
boot_hook_add switch2jffs skip_if_rootfs_mounted