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:
Diffstat (limited to 'include/osdetection')
-rw-r--r--include/osdetection22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/osdetection b/include/osdetection
index db776fdb..a94c1479 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -213,18 +213,18 @@
# Oracle Enterprise Linux
FIND=$(grep "Enterprise Linux Enterprise Linux Server" /etc/redhat-release)
if [ ! "${FIND}" = "" ]; then
- LINUX_VERSION="Oracle Enterprise Linux";
- OS_FULLNAME=$(grep "Enterprise Linux" /etc/redhat-release);
- OS_VERSION="${OS_FULLNAME}";
+ LINUX_VERSION="Oracle Enterprise Linux"
+ OS_FULLNAME=$(grep "Enterprise Linux" /etc/redhat-release)
+ OS_VERSION="${OS_FULLNAME}"
fi
# Oracle Enterprise Linux
if [ -e /etc/oracle-release ]; then
FIND=$(grep "Oracle Linux Server" /etc/oracle-release)
if [ ! "${FIND}" = "" ]; then
- LINUX_VERSION="Oracle Enterprise Linux";
- OS_FULLNAME=$(grep "Oracle Linux" /etc/oracle-release);
- OS_VERSION="${OS_FULLNAME}";
+ LINUX_VERSION="Oracle Enterprise Linux"
+ OS_FULLNAME=$(grep "Oracle Linux" /etc/oracle-release)
+ OS_VERSION="${OS_FULLNAME}"
fi
fi
@@ -232,9 +232,9 @@
if [ -e /etc/ovs-release ]; then
FIND=$(grep "Oracle VM" /etc/ovs-release)
if [ ! "${FIND}" = "" ]; then
- LINUX_VERSION="Oracle VM Server";
- OS_FULLNAME=$(grep "Oracle VM" /etc/ovs-release);
- OS_VERSION="${OS_FULLNAME}";
+ LINUX_VERSION="Oracle VM Server"
+ OS_FULLNAME=$(grep "Oracle VM" /etc/ovs-release)
+ OS_VERSION="${OS_FULLNAME}"
fi
fi
@@ -290,8 +290,8 @@
# SuSE
if [ -e "/etc/SuSE-release" ]; then
- OS_VERSION=$(head -n 1 /etc/SuSE-release);
- LINUX_VERSION="SuSE";
+ OS_VERSION=$(head -n 1 /etc/SuSE-release)
+ LINUX_VERSION="SuSE"
fi
# Turbo Linux