diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2021-07-15 14:16:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 14:16:09 +0300 |
commit | e0a5555715d78542c1e2f125987d17416f03d29e (patch) | |
tree | 92643b810a7cc36879010c57bfe2b64fcf7fa860 | |
parent | aa91bb4c85b105d4884e19b7a253024e90c92ac0 (diff) | |
parent | e2aa40665c95a278286cfb39c530960ed5f11f71 (diff) |
Merge pull request #1186 from just-some-tall-bloke/patch-1
Added detection for NethServer
-rw-r--r-- | include/osdetection | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection index 7b1e911c..47dbd216 100644 --- a/include/osdetection +++ b/include/osdetection @@ -279,6 +279,12 @@ OS_NAME="Manjaro" OS_VERSION="Rolling release" ;; + "nethserver") + LINUX_VERSION="NethServer" + OS_NAME="NethServer" + OS_REDHAT_OR_CLONE=1 + OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; "nixos") LINUX_VERSION="NixOS" OS_NAME="NixOS" |