aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorBrian Swetland <swetland@google.com>2010-10-27 15:47:16 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-27 15:47:16 -0700
commita215823fc92d6c0f8623fe18a407d9853aef87cf (patch)
tree5a0c58be21caaa107f8bdb72b9145ee7aa93e380 /rootdir
parent8c5669f9f9a228efebf4059fd4ceace5cece578b (diff)
parentb7171987382b768466a472c4c5f84cc496c95aea (diff)
downloadsystem_core-a215823fc92d6c0f8623fe18a407d9853aef87cf.tar.gz
system_core-a215823fc92d6c0f8623fe18a407d9853aef87cf.tar.bz2
system_core-a215823fc92d6c0f8623fe18a407d9853aef87cf.zip
am b7171987: am b4d65399: disable console in user builds
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc10
1 files changed, 8 insertions, 2 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 79baf9aa..d9f7ee27 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -277,11 +277,17 @@ on boot
## Daemon processes to be run by init.
##
+service ueventd /sbin/ueventd
+ critical
+
service console /system/bin/sh
console
+ disabled
+ user shell
+ group log
-service ueventd /sbin/ueventd
- critical
+on property:ro.secure=0
+ start console
# adbd is controlled by the persist.service.adb.enable system property
service adbd /sbin/adbd