blob: 0c0717e5a978fe4fd4959b4550305f23ef06a960 [file] [log] [blame]
Koushik Duttac200cf72013-07-26 21:35:23 -07001# su daemon
2service su_daemon /system/xbin/su --daemon
Steve Kondik810f96d2016-09-06 00:39:50 -07003 user root
4 group root
5 disabled
Ricardo Cerqueira7c7a44d2014-11-26 21:52:45 +00006 seclabel u:r:sudaemon:s0
Koushik Duttac200cf72013-07-26 21:35:23 -07007
8on property:persist.sys.root_access=0
9 stop su_daemon
10
11on property:persist.sys.root_access=2
Gabriele M73444402017-04-30 18:16:45 +020012 stop su_daemon
Koushik Duttac200cf72013-07-26 21:35:23 -070013
14on property:persist.sys.root_access=1
15 start su_daemon
16
17on property:persist.sys.root_access=3
18 start su_daemon