Mark successful boot before the 30s sleep

This commit is contained in:
Pierre-Hugues Husson 2019-08-10 13:15:53 +02:00
parent c7d378a359
commit 4293be815c
1 changed files with 4 additions and 4 deletions

View File

@ -9,6 +9,10 @@ if [ -f /vendor/bin/mtkmal ];then
fi
fi
if grep -qF android.hardware.boot /vendor/manifest.xml || grep -qF android.hardware.boot /vendor/etc/vintf/manifest.xml ;then
bootctl mark-boot-successful
fi
#Clear looping services
sleep 30
getprop | \
@ -17,7 +21,3 @@ getprop | \
while read -r svc ;do
setprop ctl.stop "$svc"
done
if grep -qF android.hardware.boot /vendor/manifest.xml || grep -qF android.hardware.boot /vendor/etc/vintf/manifest.xml ;then
bootctl mark-boot-successful
fi