mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed Linux install script to accept cookies in addition to meshid.
This commit is contained in:
parent
45216ef48d
commit
3de4a33d1c
2 changed files with 12 additions and 4 deletions
|
@ -55,7 +55,7 @@ CheckInstallAgent() {
|
|||
url=$1
|
||||
meshid=$2
|
||||
meshidlen=${#meshid}
|
||||
if [ $meshidlen -eq 64 ]
|
||||
if [ $meshidlen -gt 63 ]
|
||||
then
|
||||
machineid=0
|
||||
machinetype=$( uname -m )
|
||||
|
@ -118,7 +118,7 @@ CheckInstallAgent() {
|
|||
fi
|
||||
|
||||
else
|
||||
echo "MeshID is not correct, must be 64 characters long."
|
||||
echo "MeshID is not correct, must be at least 64 characters long."
|
||||
fi
|
||||
else
|
||||
echo "URI and/or MeshID have not been specified, must be passed in as arguments."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue