Update service.sh

This commit is contained in:
CherretGit
2025-10-12 14:10:05 +07:00
committed by GitHub
parent 9ef7c70f78
commit 3a7c40f167

View File

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