lactozora/script.bash
2024-03-29 15:01:12 -05:00

20 lines
No EOL
390 B
Bash

#!/bin/bash
# this is the main script template
set -eo pipefail
if [[ -n "${BASHD_DEBUG}" ]]; then # a inevitability that this will be used
set -x
fi
trap cleanup EXIT # A little more robust cleanup
cleanup() {
# We can clean up any temp files or what nots, but for now a place holder
true
}
source ./config_json.bash # can be json or ini, I preffer json
# Code goes here