From 2d0574ca5dcca7ad12251e5cec5099cc59b2e05c Mon Sep 17 00:00:00 2001 From: bcs016 <22564557+bcs016@users.noreply.github.com> Date: Wed, 19 Mar 2025 19:19:20 +0100 Subject: [PATCH] Update osdetection Added QTS (QNAP) --- include/osdetection | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/osdetection b/include/osdetection index 7a2e4bf1..9e2ba8df 100644 --- a/include/osdetection +++ b/include/osdetection @@ -455,6 +455,12 @@ OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_NAME="PureOS" ;; + "qts") + LINUX_VERSION="QNAP" + OS_NAME="QTS" + OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; "raspbian") LINUX_VERSION="Raspbian" LINUX_VERSION_LIKE="Debian"