2016-09-14 02:31:13 +00:00
|
|
|
# Triggers
|
|
|
|
|
|
|
|
on post-fs
|
|
|
|
start magisk_pfs
|
2016-10-02 20:34:50 +00:00
|
|
|
wait /dev/.magisk.unblock 20
|
|
|
|
rm /dev/.magisk.unblock
|
2016-09-14 02:31:13 +00:00
|
|
|
|
|
|
|
on post-fs-data
|
|
|
|
start magisk_pfsd
|
2016-10-02 20:34:50 +00:00
|
|
|
wait /dev/.magisk.unblock 40
|
|
|
|
rm /dev/.magisk.unblock
|
2016-09-14 02:31:13 +00:00
|
|
|
|
2016-10-14 21:38:12 +00:00
|
|
|
on property:magisk.hide=1
|
|
|
|
restart magisk_hide
|
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
|
2016-10-02 20:34:50 +00:00
|
|
|
service magisk_pfs /sbin/magic_mask.sh 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
|
2016-10-02 20:34:50 +00:00
|
|
|
service magisk_pfsd /sbin/magic_mask.sh 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
|
2016-10-02 20:34:50 +00:00
|
|
|
service magisk_service /sbin/magic_mask.sh 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
|
2016-10-14 21:38:12 +00:00
|
|
|
|
|
|
|
# launch magisk hide script
|
|
|
|
service magisk_hide /sbin/magic_mask.sh hide
|
|
|
|
user root
|
|
|
|
seclabel u:r:su:s0
|
|
|
|
oneshot
|