mirror of
https://github.com/egor-white/zaprett.git
synced 2025-12-16 00:09:51 +05:00
Update service.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user