From 68532fade3daff85192df839aab1a3554875eb93 Mon Sep 17 00:00:00 2001 From: vvb2060 Date: Mon, 20 Apr 2020 19:18:19 +0800 Subject: [PATCH] Update SAR detection method for Android 11 --- scripts/util_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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