Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2014-12-03 16:11:38 +0300
committermboelen <michael@cisofy.com>2014-12-03 16:11:38 +0300
commit92660aec3c4b1305768ac539046bd9e239cbf886 (patch)
treeaab28e5b0a5ccfa640364d0c8e5c21d6fc79811d
parent358ea148ca2be5fe7d4e3db2a097d140c38bf099 (diff)
Added comments
-rw-r--r--include/functions2
1 files changed, 2 insertions, 0 deletions
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