2016-09-14 02:31:13 +00:00
|
|
|
# Triggers
|
|
|
|
|
|
|
|
on post-fs
|
2017-07-24 19:10:22 +00:00
|
|
|
start logd
|
2016-09-14 02:31:13 +00:00
|
|
|
start magisk_pfs
|
2016-10-02 20:34:50 +00:00
|
|
|
wait /dev/.magisk.unblock 20
|
2016-09-14 02:31:13 +00:00
|
|
|
|
|
|
|
on post-fs-data
|
2017-03-18 21:00:12 +00:00
|
|
|
rm /dev/.magisk.unblock
|
2017-02-04 16:37:30 +00:00
|
|
|
load_persist_props
|
2016-09-14 02:31:13 +00:00
|
|
|
start magisk_pfsd
|
2017-01-02 17:55:19 +00:00
|
|
|
wait /dev/.magisk.unblock 60
|
2016-09-14 02:31:13 +00:00
|
|
|
|
2016-10-29 22:49:29 +00:00
|
|
|
on property:magisk.restart_pfsd=1
|
|
|
|
trigger post-fs-data
|
|
|
|
|
2016-09-14 02:31:13 +00:00
|
|
|
# Services
|
|
|
|
|
|
|
|
# launch post-fs script
|
2017-04-15 18:49:01 +00:00
|
|
|
service magisk_pfs /sbin/magisk --post-fs
|
2016-09-14 02:31:13 +00:00
|
|
|
user root
|
2016-10-02 20:34:50 +00:00
|
|
|
seclabel u:r:su:s0
|
2016-09-14 02:31:13 +00:00
|
|
|
oneshot
|
|
|
|
|
|
|
|
# launch post-fs-data script
|
2017-04-15 18:49:01 +00:00
|
|
|
service magisk_pfsd /sbin/magisk --post-fs-data
|
2016-09-14 02:31:13 +00:00
|
|
|
user root
|
2016-10-02 20:34:50 +00:00
|
|
|
seclabel u:r:su:s0
|
2016-09-14 02:31:13 +00:00
|
|
|
oneshot
|
|
|
|
|
|
|
|
# launch late_start script
|
2017-04-15 18:49:01 +00:00
|
|
|
service magisk_service /sbin/magisk --service
|
2016-09-14 02:31:13 +00:00
|
|
|
class late_start
|
|
|
|
user root
|
2016-10-02 20:34:50 +00:00
|
|
|
seclabel u:r:su:s0
|
2016-09-14 02:31:13 +00:00
|
|
|
oneshot
|