From c34c8265add8baa13557633ef549d63792d21a07 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 19 Sep 2018 13:28:46 +0200 Subject: [PATCH] Detection for QNAP devices --- include/osdetection | 8 ++++++++ 1 file changed, 8 insertions(+) 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