This commit is contained in:
bel
2023-03-29 18:52:41 -06:00
parent dc29160296
commit 78595b969e
2 changed files with 134 additions and 0 deletions

18
server-baremetal.sh Normal file
View File

@@ -0,0 +1,18 @@
# /bin/bash
main() {
trap cleanup exit
log tts
}
cleanup() {
kill -9 $(jobs -p)
}
log() {
echo "$(date) > $*" >&2
}
if [ "$0" == "$BASH_SOURCE" ]; then
main "$@"
fi