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
8d4e78370e
commit
b038cf4143
@ -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