From: Jo-Philipp Wich Date: Tue, 23 Mar 2010 17:08:35 +0000 (+0000) Subject: block-extroot: make overlay mount check more explicit, it wrongly detected /tmp/overl... X-Git-Tag: v19.07.0-rc1~31180 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5293dddc31f1f7055c46b0aeea9870673eae6d40;p=openwrt%2Fstaging%2Fhauke.git block-extroot: make overlay mount check more explicit, it wrongly detected /tmp/overlay as successful overlay mount SVN-Revision: 20390 --- 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 }