mirror of https://github.com/CISOfy/lynis.git
Added comments
This commit is contained in:
parent
358ea148ca
commit
92660aec3c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue