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>2019-08-04 20:18:16 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-08-04 20:18:16 +0300
commitf2b385fbf7017d56759040ae6451e4f829ac1c74 (patch)
tree930155640f7b10c0eacba6652de19b2a876c12e7 /include
parentda055ae0aa8b0dede7f8cf1aba5fa6280580a1a3 (diff)
Initial support for Clear Linux OS
Diffstat (limited to 'include')
-rw-r--r--include/osdetection5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection
index 95f2e014..20e50b26 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -146,6 +146,11 @@
OS_FULLNAME="Arch Linux"
OS_VERSION="Rolling release"
;;
+ "clear-linux-os")
+ LINUX_VERSION="Clear Linux OS"
+ OS_FULLNAME=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
+ OS_VERSION="Rolling release"
+ ;;
"coreos")
LINUX_VERSION="CoreOS"
OS_FULLNAME=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')