Merge branch 'master' of https://github.com/Ylianst/MeshCentral
This commit is contained in:
commit
6874f639cb
|
@ -75,9 +75,17 @@ CheckInstallAgent() {
|
|||
machineid=30
|
||||
else
|
||||
# Linux x86, 64 bit
|
||||
bitlen=$( getconf LONG_BIT )
|
||||
if [ $bitlen == '32' ]
|
||||
then
|
||||
# 32 bit OS
|
||||
machineid=5
|
||||
else
|
||||
# 64 bit OS
|
||||
machineid=6
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [ $machinetype == 'x86' ] || [ $machinetype == 'i686' ] || [ $machinetype == 'i586' ]
|
||||
then
|
||||
if [ $starttype -eq 5 ]
|
||||
|
|
Loading…
Reference in New Issue