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
|
url=$1
|
||||||
server=$2
|
server=$2
|
||||||
secret=$3
|
secret=$3
|
||||||
|
user=$4
|
||||||
rootpath="/opt/accessgate"
|
rootpath="/opt/accessgate"
|
||||||
updateScriptUrl=https://raw.githubusercontent.com/itsmrval/accessgate/scripts/update.sh
|
updateScriptUrl=https://raw.githubusercontent.com/itsmrval/accessgate/scripts/update.sh
|
||||||
|
|
||||||
|
|
@ -49,6 +50,7 @@ tee -a $rootpath/config.txt > /dev/null <<EOT
|
||||||
server=$server
|
server=$server
|
||||||
url=$url
|
url=$url
|
||||||
secret=$secret
|
secret=$secret
|
||||||
|
user=$user
|
||||||
EOT
|
EOT
|
||||||
echo -ne "✓\n"
|
echo -ne "✓\n"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue