summarylogtreecommitdiffstats
path: root/magisk-init-rc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'magisk-init-rc.patch')
-rw-r--r--magisk-init-rc.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/magisk-init-rc.patch b/magisk-init-rc.patch
new file mode 100644
index 000000000000..d812afb1c8ec
--- /dev/null
+++ b/magisk-init-rc.patch
@@ -0,0 +1,16 @@
+--- a/squashfs-root/init.rc
++++ b/squashfs-root/init.rc
+@@ -668,3 +668,12 @@
+ service flash_recovery /system/bin/install-recovery.sh
+ class main
+ oneshot
++
++on property:dev.bootcomplete=1
++ start magisk
++
++service magisk /system/bin/init-magisk.sh
++ class main
++ user root
++ group root
++ oneshot
+\ No newline at end of file