Detection for QNAP devices

This commit is contained in:
Michael Boelen 2018-09-19 13:28:46 +02:00
parent 7e41339d95
commit c34c8265ad
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 8 additions and 0 deletions

View File

@ -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