diff --git a/scripts/util_functions.sh b/scripts/util_functions.sh index 2c028ee67..2550de045 100644 --- a/scripts/util_functions.sh +++ b/scripts/util_functions.sh @@ -234,7 +234,7 @@ mount_partitions() { # Mount ro partitions mount_ro_ensure "system$SLOT app$SLOT" /system - if [ -f /system/init.rc ]; then + if [ -f /system/init -o -L /system/init ]; then SYSTEM_ROOT=true setup_mntpoint /system_root if ! mount --move /system /system_root; then