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

View File

@ -9,6 +9,10 @@ if [ -f /vendor/bin/mtkmal ];then
fi fi
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 #Clear looping services
sleep 30 sleep 30
getprop | \ getprop | \
@ -17,7 +21,3 @@ getprop | \
while read -r svc ;do while read -r svc ;do
setprop ctl.stop "$svc" setprop ctl.stop "$svc"
done 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