2016-09-14 04:31:13 +02:00
|
|
|
# Triggers
|
|
|
|
|
|
|
|
on post-fs
|
2017-07-24 21:10:22 +02:00
|
|
|
start logd
|
2017-10-08 16:00:22 +02:00
|
|
|
start magisk_daemon
|
|
|
|
wait /dev/.magisk.unblock 5
|
2017-10-10 20:26:28 +02:00
|
|
|
rm /dev/.magisk.unblock
|
|
|
|
start magisk_pfs
|
|
|
|
wait /dev/.magisk.unblock 10
|
2016-09-14 04:31:13 +02:00
|
|
|
|
|
|
|
on post-fs-data
|
2017-02-04 17:37:30 +01:00
|
|
|
load_persist_props
|
2017-10-10 20:26:28 +02:00
|
|
|
rm /dev/.magisk.unblock
|
2016-09-14 04:31:13 +02:00
|
|
|
start magisk_pfsd
|
2017-10-08 16:00:22 +02:00
|
|
|
wait /dev/.magisk.unblock 10
|
2016-10-30 00:49:29 +02:00
|
|
|
|
2016-09-14 04:31:13 +02:00
|
|
|
# Services
|
|
|
|
|
2017-10-08 16:00:22 +02:00
|
|
|
# Self recoverable service
|
|
|
|
service magisk_daemon /sbin/magisk --daemon
|
|
|
|
user root
|
|
|
|
seclabel u:r:su:s0
|
|
|
|
|
2016-09-14 04:31:13 +02:00
|
|
|
# launch post-fs script
|
2017-04-15 20:49:01 +02:00
|
|
|
service magisk_pfs /sbin/magisk --post-fs
|
2016-09-14 04:31:13 +02:00
|
|
|
user root
|
2016-10-02 22:34:50 +02:00
|
|
|
seclabel u:r:su:s0
|
2016-09-14 04:31:13 +02:00
|
|
|
oneshot
|
|
|
|
|
|
|
|
# launch post-fs-data script
|
2017-04-15 20:49:01 +02:00
|
|
|
service magisk_pfsd /sbin/magisk --post-fs-data
|
2016-09-14 04:31:13 +02:00
|
|
|
user root
|
2016-10-02 22:34:50 +02:00
|
|
|
seclabel u:r:su:s0
|
2016-09-14 04:31:13 +02:00
|
|
|
oneshot
|
|
|
|
|
|
|
|
# launch late_start script
|
2017-04-15 20:49:01 +02:00
|
|
|
service magisk_service /sbin/magisk --service
|
2016-09-14 04:31:13 +02:00
|
|
|
class late_start
|
|
|
|
user root
|
2016-10-02 22:34:50 +02:00
|
|
|
seclabel u:r:su:s0
|
2016-09-14 04:31:13 +02:00
|
|
|
oneshot
|