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-05-20 09:28:54 +0300
committerGitHub <noreply@github.com>2021-05-20 09:28:54 +0300
commit54f9281040c8cc82aa7f8e961dcb6d04af14dfe2 (patch)
tree894cf3550ce90bdb73f0823392925b5148c91c35 /include/osdetection
parentb356aaca8495bf370583009890d6c6df4552448a (diff)
Added BunsenLabs detection
Diffstat (limited to 'include/osdetection')
-rw-r--r--include/osdetection8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/osdetection b/include/osdetection
index 3b628c52..a7112d4b 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -173,6 +173,12 @@
OS_FULLNAME="Arch Linux 32"
OS_VERSION="Rolling release"
;;
+ "bunsenlabs")
+ LINUX_VERSION="BunsenLabs"
+ OS_NAME="BunsenLabs"
+ 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 '"')
+ ;;
"centos")
LINUX_VERSION="CentOS"
OS_NAME="CentOS Linux"
@@ -201,7 +207,7 @@
OS_NAME="Debian"
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"