Skip to content

Commit

Permalink
added process death handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Binozo committed Jan 7, 2024
1 parent d45358f commit b966c78
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,9 @@ while [ "$(hostname -I)" = "" ]; do
done
echo "Starting your executable..."
adb shell "chmod +x /data/local/tmp/echogo"
adb shell "cd /data/local/tmp/ && ./echogo"

while true
do
adb shell "cd /data/local/tmp/ && ./echogo"
echo "The process died. Restarting..."
done

0 comments on commit b966c78

Please sign in to comment.