diff --git a/include/functions b/include/functions index 928f8042..80ff366b 100644 --- a/include/functions +++ b/include/functions @@ -607,6 +607,8 @@ # Try common guest processes logtext "Test: trying to guess virtual machine type by sysctl keys" + # NetBSD: machdep.dmi.system-product + # OpenBSD: hw.product FIND=`sysctl -a | egrep "(hw.product|machdep.dmi.system-product)" | sed 's/ = /=/' | awk -F= '{ print $2 }'` if [ ! "${FIND}" = "" ]; then case ${FIND} in