summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriele M <moto.falcon.git@gmail.com>2017-04-30 18:16:45 +0200
committerMichael Bestas <mikeioannina@cyanogenmod.org>2017-05-01 23:31:39 +0300
commit109fef9e1e04b2faa44c5f9dc7c5b8d3ba559858 (patch)
treecd5fe587095c89db2b6fb81e7cfa2eba5e76131b
parentc30dc1b5eaa6b77fea5190721b365c7a7d6b4b47 (diff)
downloadvendor_replicant-109fef9e1e04b2faa44c5f9dc7c5b8d3ba559858.zip
vendor_replicant-109fef9e1e04b2faa44c5f9dc7c5b8d3ba559858.tar.gz
vendor_replicant-109fef9e1e04b2faa44c5f9dc7c5b8d3ba559858.tar.bz2
su: Don't start daemon for adb only mode
adb root doesn't rely on su to work, so the daemon shouldn't be started. Change-Id: Ice9131b7efe9344df5d77fdbc465ce0b82dbe07f
-rw-r--r--prebuilt/common/etc/init.local.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc
index 9c40061..53f972c 100644
--- a/prebuilt/common/etc/init.local.rc
+++ b/prebuilt/common/etc/init.local.rc
@@ -221,7 +221,7 @@ on property:persist.sys.root_access=1
start su_daemon
on property:persist.sys.root_access=2
- start su_daemon
+ stop su_daemon
on property:persist.sys.root_access=3
start su_daemon