Set fixed dmidecode location

This commit is contained in:
mboelen 2016-03-16 09:54:54 +01:00
parent b8df6c4204
commit bdc0f010c1
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@
if [ "${SHORT}" = "" ]; then
if [ -x /usr/sbin/dmidecode ]; then
LogText "Test: trying to guess virtualization with dmidecode"
FIND=`dmidecode -s system-product-name | awk '{ print $1 }'`
FIND=`/usr/sbin/dmidecode -s system-product-name | awk '{ print $1 }'`
if [ ! "${FIND}" = "" ]; then
LogText "Result: found ${FIND}"
SHORT="${FIND}"