Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2021-04-01 15:34:26 +0300
committerGitHub <noreply@github.com>2021-04-01 15:34:26 +0300
commit21219c91eb08ad224853dd60d3b95e0b8d344141 (patch)
tree135e5f2afc4459cf81d8b03f7eed5e73e5e50cb9 /include/osdetection
parenta8f7b0cb85f8a21914de9244a695b29f27e9202b (diff)
Added Devuan
Diffstat (limited to 'include/osdetection')
-rw-r--r--include/osdetection6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection
index fe83c10b..cf35d144 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -190,6 +190,12 @@
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 '"')
;;
+ "devuan")
+ LINUX_VERSION="Devuan"
+ OS_NAME="Devuan"
+ 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 '"')
+ ;;
"elementary")
LINUX_VERSION="elementary OS"
OS_NAME="elementary OS"