diff options
author | Niklas Halle <niklas@niklashalle.net> | 2024-02-10 11:42:03 +0100 |
---|---|---|
committer | Niklas Halle <niklas@niklashalle.net> | 2024-02-10 11:42:03 +0100 |
commit | cc7c4bb3383e4358050dccb56a49dd0dbcec43dc (patch) | |
tree | 71c84de6feaf3d50acc9e71972ee55368cfc5d48 /update_dkb.sh | |
download | server_scripts-cc7c4bb3383e4358050dccb56a49dd0dbcec43dc.tar.gz server_scripts-cc7c4bb3383e4358050dccb56a49dd0dbcec43dc.zip |
inital
Diffstat (limited to 'update_dkb.sh')
-rwxr-xr-x | update_dkb.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/update_dkb.sh b/update_dkb.sh new file mode 100755 index 0000000..e5305dc --- /dev/null +++ b/update_dkb.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +# Source the common utils and the environment variable loader +source load_common_and_env.sh + +# (Attempt to) take variable we need +USERNAME=${FINTS_USER} +PASSWORD=${FINTS_PASS} +URL=${FINTS_URL} + +# Curl command +curl -s -u "$USERNAME:$PASSWORD" "$URL" + +# Print nem line +echo |