Skip to content

Commit

Permalink
disable console in user builds
Browse files Browse the repository at this point in the history
Also, run console as shell/log instead of root/root.

Change-Id: I6104f1edddfd5e11843ff41d7839d0c296e6a6f9
  • Loading branch information
swetland committed Oct 27, 2010
1 parent 146481b commit b4d6539
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions rootdir/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4d6539

Please sign in to comment.