mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Added comments
This commit is contained in:
parent
358ea148ca
commit
92660aec3c
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue