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