This commit is contained in:
Ylian Saint-Hilaire 2020-04-03 22:35:12 -07:00
commit 6874f639cb
1 changed files with 9 additions and 1 deletions

View File

@ -75,7 +75,15 @@ CheckInstallAgent() {
machineid=30
else
# Linux x86, 64 bit
machineid=6
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' ]