mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 21:02:53 -05:00
Fixed Linux install script to accept cookies in addition to meshid.
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user