ktweak/service.sh
Tyler Nijmeh d65b2ab4f9 Initialize as a system script
Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
2020-08-05 11:23:34 -07:00

14 lines
286 B
Bash

#!/system/bin/sh
# 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
ktweak