From b4d65399fde02280b718e3b5b5cb1464a885c4b0 Mon Sep 17 00:00:00 2001 From: Brian Swetland Date: Wed, 27 Oct 2010 15:40:23 -0700 Subject: [PATCH] disable console in user builds Also, run console as shell/log instead of root/root. Change-Id: I6104f1edddfd5e11843ff41d7839d0c296e6a6f9 --- rootdir/init.rc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 27172736..8227273a 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