Fix running paralell with init

Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
latency
Tyler Nijmeh 4 years ago
parent 890796848d
commit e902612dc7

@ -1,5 +1,15 @@
#!/system/bin/sh
# Written by Draco (tytydraco @ GitHub)
# Wait for boot to finish completely
dbg "Sleeping until boot completes."
while [[ `getprop sys.boot_completed` -ne 1 ]]
do
sleep 1
done
# Sleep an additional 20s to ensure init is finished
sleep 20
# Setup tweaks
ktweak

@ -111,13 +111,6 @@ while getopts ":dh" opt; do
done
shift $((OPTIND-1))
# Wait for boot to finish completely
dbg "Sleeping until boot completes."
while [[ `getprop sys.boot_completed` -ne 1 ]]
do
sleep 1
done
# Print device information prior to execution
dbg "----- Device Information -----"
# Kernel and device information

Loading…
Cancel
Save