if [ "$find_rootfs" = "1" ]; then
if [ "$is_rootfs" -eq 1 ]; then
target=/overlay
+ elif [ "$target" = "/" ]; then
+ target=/rom
fi
else
if [ "$is_rootfs" -eq 1 ] || [ "$target" = "/overlay" ]; then
target=/tmp/overlay-disabled
+ elif [ "$target" = "/" ] || [ "$target" = "/rom" ]; then
+ target="/tmp/whole_root-disabled"
fi
fi
[ "$target" = "/overlay" ] && {
rootfs_found=1
}
+ [ "$target" = "/rom" ] && {
+ rootfs_found=1
+ }
}
return 0
}