mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user