
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
13 lines
249 B
Bash
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") &
|
|
|
|
|
|
|