blob: 0c0717e5a978fe4fd4959b4550305f23ef06a960 [file] [log] [blame]
# su daemon
service su_daemon /system/xbin/su --daemon
user root
group root
disabled
seclabel u:r:sudaemon:s0
on property:persist.sys.root_access=0
stop su_daemon
on property:persist.sys.root_access=2
stop su_daemon
on property:persist.sys.root_access=1
start su_daemon
on property:persist.sys.root_access=3
start su_daemon