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:
parent
85658e55b3
commit
76abd6cb76
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user