mirror of https://github.com/tytydraco/ktweak
Fix running paralell with init
Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>latency
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
|
||||
|
Loading…
Reference in New Issue