boot: inital commit
This commit is contained in:
parent
aefb753433
commit
59c197b026
|
|
@ -1,6 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /Users/beamer/Documents/ProPresenter-LIVE
|
||||
/usr/bin/git add --all .
|
||||
/usr/bin/git commit -m "boot: inital commit"
|
||||
/usr/bin/git push origin
|
||||
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;
|
||||
Loading…
Reference in a new issue