|
|
@ -495,9 +495,9 @@ syscheck()
|
|
|
|
|
|
|
|
|
|
|
|
# check for legacy RHEL/CentOS 6
|
|
|
|
# check for legacy RHEL/CentOS 6
|
|
|
|
elif [ -f /etc/centos-release ]; then
|
|
|
|
elif [ -f /etc/centos-release ]; then
|
|
|
|
echo 'centos'
|
|
|
|
_ONE_OS_ID='centos'
|
|
|
|
elif [ -f /etc/redhat-release ]; then
|
|
|
|
elif [ -f /etc/redhat-release ]; then
|
|
|
|
echo 'rhel'
|
|
|
|
_ONE_OS_ID='rhel'
|
|
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
else
|
|
|
|
_ONE_OS_ID=$(uname | tr '[:upper:]' '[:lower:]')
|
|
|
|
_ONE_OS_ID=$(uname | tr '[:upper:]' '[:lower:]')
|
|
|
|