diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-23 17:08:35 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-23 17:08:35 +0000 |
commit | 5293dddc31f1f7055c46b0aeea9870673eae6d40 (patch) | |
tree | 5f0431c09e4bc158c5f6fe3e8ded7c52733de30b /package/block-extroot | |
parent | 75b88227338ea7ba18405f6330a0528cbcd6b515 (diff) | |
download | mtk-20170518-5293dddc31f1f7055c46b0aeea9870673eae6d40.zip mtk-20170518-5293dddc31f1f7055c46b0aeea9870673eae6d40.tar.gz mtk-20170518-5293dddc31f1f7055c46b0aeea9870673eae6d40.tar.bz2 |
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_root | 2 |
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 192990c..0de9be3 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 } |