init: start apexd as early as we can.

apexd needs to run right after mounting /data.

Bug: 112455435
Test: apexd is running
Change-Id: I71c834bcaf26a3133aef57bb1d1953010a6d137c
This commit is contained in:
Martijn Coenen 2018-08-17 13:52:25 +02:00
parent 6a581b7b66
commit 3848e1ba12
1 changed files with 3 additions and 0 deletions

View File

@ -403,6 +403,9 @@ on post-fs-data
mkdir /data/bootchart 0755 shell shell
bootchart start
# Start apexd as soon as we can
start apexd
# Avoid predictable entropy pool. Carry over entropy from previous boot.
copy /data/system/entropy.dat /dev/urandom