summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-23 17:08:35 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-23 17:08:35 +0000
commit3e79d08bae4b9405200b4bdbb81c0d65d082a5ff (patch)
tree29b0abc77bf42598386ecae9b1839a304182cc21
parent6fefa51caeb1d7641f5121a7a6067b911fcd2d0a (diff)
[package] block-extroot: make overlay mount check more explicit, it wrongly detected /tmp/overlay as successful overlay mount
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20390 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/block-extroot/files/50_determine_usb_root2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/block-extroot/files/50_determine_usb_root b/package/block-extroot/files/50_determine_usb_root
index 192990c919..0de9be3846 100644
--- 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
- [ "$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
}