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 85658e55b3
commit 76abd6cb76

View File

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