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
|
||||||
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user