Fixing some data that was left in
This commit is contained in:
parent
8ab998e252
commit
71ee8a4ba4
2 changed files with 21 additions and 1 deletions
20
commando.bash
Normal file
20
commando.bash
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
# commando.bash
|
||||
|
||||
set -eo pipefail # you cann add u into -eo, but it drives me nuts so I won't
|
||||
|
||||
if [[ -n "${BASHD_DEBUG}" ]]; then # aievitability 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.bash
|
||||
|
||||
token=$(read_json "$JSON_FILE" "ntfy" "token")
|
Loading…
Add table
Add a link
Reference in a new issue