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:
authorMichael Boelen <michael.boelen@cisofy.com>2018-09-19 14:28:46 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-09-19 14:28:46 +0300
commitc34c8265add8baa13557633ef549d63792d21a07 (patch)
tree83cc47a383a9ceb6a33cadc4ed713b74428eaf00
parent7e41339d95be360887d656c3ab6f49a3aebf3aeb (diff)
Detection for QNAP devices
-rw-r--r--include/osdetection8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection
index e4b90703..4b8d29be 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -501,5 +501,13 @@
fi
fi
+ # Specific checks for hardware
+
+ # Detect if we are using a QNAP NAS
+ if [ -d /share/CACHEDEV1_DATA/.qpkg ]; then
+ QNAP_DEVICE=1
+ fi
+
+
#================================================================================
# Lynis - Security Auditing and System Hardening for Linux and UNIX - https://cisofy.com