diff options
author | Tom Cherry <tomcherry@google.com> | 2017-03-13 12:24:49 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2017-03-13 12:24:49 -0700 |
commit | d8a7257b14086a9070aa521b41118570ee4f4aaa (patch) | |
tree | ffc59394943a5a65fcb2939925270b661496ab50 /libcutils/socket_local_server_unix.cpp | |
parent | 2bc00140be22f08964102068a736358fe8dde5da (diff) |
init: fix DumpState() logging
Fix two formatting issues in Action::DumpState(),
Old:
on ro.crypto.state=encrypted ro.crypto.type=file zygote-start
New:
on ro.crypto.state=encrypted && ro.crypto.type=file && zygote-start
Old:
on boot
%sifup lo
%shostname localhost
%sdomainname localdomain
%swrite /proc/sys/vm/overcommit_memory 1
New:
on boot
ifup lo
hostname localhost
domainname localdomain
write /proc/sys/vm/overcommit_memory 1
Also, now that we're importing many small rc files, it no longer makes
sense to call Parser::DumpState() after each import. Therefore, move
the conditional to call Parser::DumpState() to after /init.rc and its
imports are parsed and after the late imports are parsed.
Test: Boot bullhead with DumpState() enabled and check the output
Change-Id: I0b81305b8938aa1a7133d7dd2055f34f47609cf9
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions