device_phh_treble/ota/phh-ota.rc
2022-01-31 16:12:35 -05:00

13 lines
313 B
Plaintext

service phh-ota-make /system/bin/phh-ota new-slot
seclabel u:r:phhsu_daemon:s0
disabled
oneshot
service phh-ota-switch /system/bin/phh-ota switch-slot
seclabel u:r:phhsu_daemon:s0
disabled
oneshot
on property:sys.boot_completed=1
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-ota delete-other-slot