init: Make console a shutdown critical service
A critical shutdown service is one that stays on right until the system is rebooted. In order to be able to capture kernel messages right until reboot this is required, otherwise after the console service is terminated some messages can be lost. Test: Reboot and verify messages show up on serial further down the reboot process Change-Id: Iea58b5a76afe45b3346803021e3be81742b02ea0
This commit is contained in:
parent
d5d01db888
commit
12f9ff8951
1 changed files with 1 additions and 0 deletions
|
|
@ -1286,6 +1286,7 @@ service console /system/bin/sh
|
|||
group shell log readproc
|
||||
seclabel u:r:shell:s0
|
||||
setenv HOSTNAME console
|
||||
shutdown critical
|
||||
|
||||
on property:ro.debuggable=1
|
||||
# Give writes to anyone for the trace folder on debug builds.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue