mirror of https://github.com/tytydraco/ktweak
Sleep until boot completes properly
Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>latency
parent
276b690ef1
commit
f328be209a
@ -1,13 +1,5 @@
|
|||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
# Written by Draco (tytydraco @ GitHub)
|
# Written by Draco (tytydraco @ GitHub)
|
||||||
|
|
||||||
# Wait 60s into boot before applying changes
|
|
||||||
echo "[*] Waiting for 60s of uptime."
|
|
||||||
while [[ `cat /proc/uptime | awk '{print $1}' | awk -F. '{print $1}'` -lt 60 ]]
|
|
||||||
do
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
echo "[*] Done waiting."
|
|
||||||
|
|
||||||
# Setup tweaks
|
# Setup tweaks
|
||||||
ktweak
|
ktweak
|
||||||
|
Loading…
Reference in New Issue