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:
authorSimon Biewald <simon@fam-biewald.de>2020-11-13 00:12:26 +0300
committerSimon Biewald <simon@fam-biewald.de>2020-11-13 00:12:26 +0300
commit183af1d334ee6111f08d1e9d2539d959ef871c2f (patch)
tree6a2f851ff3c613a28c252ea3c77f9494d7c325d8 /include/osdetection
parent499cf1cdb93f5a0d10db9cc9d4e949b4212ae313 (diff)
Add IPFire to osdetection
Fixes cisofy/lynis#1040. Signed-off-by: Simon Biewald <simon@fam-biewald.de>
Diffstat (limited to 'include/osdetection')
-rw-r--r--include/osdetection5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection
index b52ab188..925beec2 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -207,6 +207,11 @@
OS_NAME="Gentoo Linux"
OS_VERSION="Rolling release"
;;
+ "ipfire")
+ LINUX_VERSION="IPFire"
+ OS_NAME="IPFire"
+ OS_VERSION=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
+ ;;
"kali")
LINUX_VERSION="Kali"
OS_NAME="Kali Linux"