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