summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mtectrl/mtectrl.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtectrl/mtectrl.rc b/mtectrl/mtectrl.rc
index cba3e255..9a85d224 100644
--- a/mtectrl/mtectrl.rc
+++ b/mtectrl/mtectrl.rc
@@ -22,7 +22,7 @@ on property:persist.device_config.runtime_native_boot.bootloader_override=*
# adbd gets initialized in init, so run before that. this makes sure that the
# user does not change the value before we initialize it
-on early-init && property:ro.arm64.memtag.bootctl_supported=1
+on early-boot && property:ro.arm64.memtag.bootctl_supported=1
exec_background -- /system/bin/mtectrl -s arm64.memtag.bootctl -f arm64.memtag.bootctl_loaded
on shutdown && property:ro.arm64.memtag.bootctl_supported=1