mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added Gentoo-Detection
This commit is contained in:
@@ -37,6 +37,9 @@ elif [ "${OS}" = "Linux" ] ; then
|
||||
elif [ -f /etc/debian_version ] ; then
|
||||
DIST="Debian `cat /etc/debian_version`"
|
||||
REV=""
|
||||
elif [ -f /etc/gentoo-release ] ; then
|
||||
DIST="Gentoo"
|
||||
REV=$(tr -d '[[:alpha:]]' </etc/gentoo-release | tr -d " ")
|
||||
fi
|
||||
|
||||
if [ -f /etc/UnitedLinux-release ] ; then
|
||||
|
Reference in New Issue
Block a user