diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2021-05-20 09:28:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 09:28:54 +0300 |
commit | 54f9281040c8cc82aa7f8e961dcb6d04af14dfe2 (patch) | |
tree | 894cf3550ce90bdb73f0823392925b5148c91c35 | |
parent | b356aaca8495bf370583009890d6c6df4552448a (diff) |
Added BunsenLabs detection
-rw-r--r-- | include/osdetection | 8 |
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" |