ClearOS specifics
This commit is contained in:
parent
81e0ca10df
commit
42c7bf935c
|
@ -268,6 +268,12 @@ case $OS_NAME in
|
||||||
OS_VERSION=`cat /etc/gentoo-release`
|
OS_VERSION=`cat /etc/gentoo-release`
|
||||||
OS_URL=http://www.gentoo.org/
|
OS_URL=http://www.gentoo.org/
|
||||||
fi
|
fi
|
||||||
|
# ClearOS special case
|
||||||
|
if [ -f /etc/clearos-release ]; then
|
||||||
|
OS_NAME=ClearOS
|
||||||
|
OS_VERSION=`grep ^base_version /etc/product | awk '{ print $3 }'`
|
||||||
|
OS_URL=https://www.clearos.com/
|
||||||
|
fi
|
||||||
# use lsb_release (Linux Standard Base) when available
|
# use lsb_release (Linux Standard Base) when available
|
||||||
LSB_RELEASE=`which lsb_release`
|
LSB_RELEASE=`which lsb_release`
|
||||||
if [ 0 -eq $? ]; then
|
if [ 0 -eq $? ]; then
|
||||||
|
|
Loading…
Reference in New Issue