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
commit5293dddc31f1f7055c46b0aeea9870673eae6d40 (patch)
tree5f0431c09e4bc158c5f6fe3e8ded7c52733de30b /package/block-extroot
parent75b88227338ea7ba18405f6330a0528cbcd6b515 (diff)
downloadupstream-5293dddc31f1f7055c46b0aeea9870673eae6d40.tar.gz
upstream-5293dddc31f1f7055c46b0aeea9870673eae6d40.tar.bz2
upstream-5293dddc31f1f7055c46b0aeea9870673eae6d40.zip
block-extroot: make overlay mount check more explicit, it wrongly detected /tmp/overlay as successful overlay mount
SVN-Revision: 20390
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
}