broken-mobile-server/coreStarter.sh
arul 3d2fbeb725 Upload files to "/"
These scripts start one another, as a workaround for systemd , corestarter and Termux boot go hand in hand to make script run all the time in background

scrips works by spawning one another sequentially

corestarter -> initProcess  -> goLive  ->initRVP
2024-06-02 20:43:30 +00:00

13 lines
249 B
Bash

# Your script logic goes here
bash /data/data/com.termux/files/home/.custmScrpt/initProcess.sh
# Save the script path
script_path=$(readlink -f "$0")
# Sleep for 5 seconds and then execute the script again
(sleep 300 && exec "$script_path") &