aboutsummaryrefslogtreecommitdiffstats
path: root/package/block-extroot
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-23 17:08:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-23 17:08:35 +0000
commit82378bc61d85a77db81c3990c19c4a7f2e3184e4 (patch)
tree29b0abc77bf42598386ecae9b1839a304182cc21 /package/block-extroot
parentfaed7ed8234e279dcc5c59eb4a0108ed2fb0179c (diff)
downloadmaster-187ad058-82378bc61d85a77db81c3990c19c4a7f2e3184e4.tar.gz
master-187ad058-82378bc61d85a77db81c3990c19c4a7f2e3184e4.tar.bz2
master-187ad058-82378bc61d85a77db81c3990c19c4a7f2e3184e4.zip
[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
Diffstat (limited to 'package/block-extroot')
-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
}