mirror of https://github.com/itsmrval/accessGate
Update agent.sh
parent
4ef3186c7f
commit
8ec8d1db10
2
agent.sh
2
agent.sh
|
|
@ -3,6 +3,7 @@
|
|||
url=$1
|
||||
server=$2
|
||||
secret=$3
|
||||
user=$4
|
||||
rootpath="/opt/accessgate"
|
||||
updateScriptUrl=https://raw.githubusercontent.com/itsmrval/accessgate/scripts/update.sh
|
||||
|
||||
|
|
@ -49,6 +50,7 @@ tee -a $rootpath/config.txt > /dev/null <<EOT
|
|||
server=$server
|
||||
url=$url
|
||||
secret=$secret
|
||||
user=$user
|
||||
EOT
|
||||
echo -ne "✓\n"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue