Create update.sh

scripts
Valentin 2023-09-12 21:38:52 +02:00 committed by GitHub
parent 0c135ee7d7
commit 1dbc2c8314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

4
update.sh Normal file
View File

@ -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