Revert "Update service.sh"

This reverts commit 3a7c40f167.
This commit is contained in:
CherretGit
2025-10-19 14:46:19 +07:00
parent d3dbf4ddc5
commit 71e918bd13

View File

@@ -1,9 +1,9 @@
#!/system/bin/sh
while [ -z "$(getprop sys.boot_completed)" ]; do sleep 2; done
su -c "zaprett start"
while true; do
sleep 3600
if [ -f "/data/adb/modules/zaprett/autostart" ]; then
su -c "zaprett restart"
fi
done
if [ -f "/data/adb/modules/zaprett/autostart" ]; then
su -c "zaprett start"
while true; do
sleep 3600
su -c "zaprett restart"
done
fi