projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] block-extroot: make overlay mount check more explicit, it wrongly detected...
[openwrt-10.03/.git]
/
package
/
block-extroot
/
files
/
50_determine_usb_root
diff --git
a/package/block-extroot/files/50_determine_usb_root
b/package/block-extroot/files/50_determine_usb_root
index 192990c919ea5c3c1aad6e9afb0c63e9aa428de7..0de9be3846878cc11afe83fd772b2531f3d48898 100644
(file)
--- a/
package/block-extroot/files/50_determine_usb_root
+++ b/
package/block-extroot/files/50_determine_usb_root
@@
-38,7
+38,7
@@
determine_external_root() {
config_load fstab
config_foreach config_mount_by_section mount 1
config_load fstab
config_foreach config_mount_by_section mount 1
- [ "$rootfs_found" = "1" ] && grep -q
/overlay
/proc/mounts && {
+ [ "$rootfs_found" = "1" ] && grep -q
' /overlay '
/proc/mounts && {
pi_extroot_mount_success=true
pi_mount_skip_next=false
}
pi_extroot_mount_success=true
pi_mount_skip_next=false
}