Mark successful boot before the 30s sleep
This commit is contained in:
parent
c7d378a359
commit
4293be815c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user