propresenter/git_commit_push.sh
2025-06-01 12:40:05 +02:00

24 lines
315 B
Bash
Executable file

#!/bin/bash
function shutdown()
{
cd /Users/beamer/Documents/ProPresenter-LIVE
/usr/bin/git add --all .
/usr/bin/git commit -m "boot: inital commit"
/usr/bin/git push origin
exit 0
}
function startup()
{
tail -f /dev/null &
wait $!
}
trap shutdown SIGTERM
trap shutdown SIGKILL
startup;