From 1dbc2c83142b02756883b3ad57fd9ee1dde53b97 Mon Sep 17 00:00:00 2001 From: Valentin <43043885+itsmrval@users.noreply.github.com> Date: Tue, 12 Sep 2023 21:38:52 +0200 Subject: [PATCH] Create update.sh --- update.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 update.sh diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..20a19c3 --- /dev/null +++ b/update.sh @@ -0,0 +1,4 @@ +#! /bin/bash + +. /opt/accessgate/config.txt +curl -o a -s -X GET -H 'Content-Type: application/json' -d '{"secret": "'$secret'"}' $url/endpoint/update/$server