Skip to content

Commit

Permalink
fix: update init.superuser.rc
Browse files Browse the repository at this point in the history
  • Loading branch information
AXON committed Jan 20, 2021
1 parent 9c75b00 commit b3ca6d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 5 additions & 8 deletions android-ramdisk/init.superuser.rc
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
on early-init
export PATH /sbin:/bin:/system/bin:/system/xbin:/system/vendor/bin:/gearlock/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin

service su_daemon /sbin/magisk --daemon
service su_daemon /system/bin/logwrapper /sbin/magisk --daemon
seclabel u:r:su:s0
oneshot

on boot
exec u:r:su:s0 -- /rusty-magisk
exec u:r:su:s0 -- /system/bin/logwrapper /rusty-magisk
start su_daemon
exec u:r:su:s0 -- /sbin/magisk --post-fs-data
exec u:r:su:s0 -- /system/bin/logwrapper /sbin/magisk --post-fs-data

on property:sys.boot_completed=1
exec u:r:su:s0 -- /sbin/magisk --service
exec u:r:su:s0 -- /sbin/magisk --boot-complete
exec u:r:su:s0 -- /system/bin/logwrapper /sbin/magisk --service
exec u:r:su:s0 -- /system/bin/logwrapper /sbin/magisk --boot-complete

0 comments on commit b3ca6d6

Please # to comment.