Some devices declare boot hal, but doesn't have it. Put bootctl at the end until I get a better fix

This commit is contained in:
Pierre-Hugues Husson 2018-08-22 11:01:43 +02:00
parent 8d4e78370e
commit b038cf4143
1 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,5 @@
#!/system/bin/sh
if grep -qF android.hardware.boot /vendor/manifest.xml;then
bootctl mark-boot-successful
fi
#Clear looping services
sleep 30
@ -12,3 +9,7 @@ getprop | \
while read svc ;do
setprop ctl.stop $svc
done
if grep -qF android.hardware.boot /vendor/manifest.xml;then
bootctl mark-boot-successful
fi