mirror of
https://github.com/librenms/librenms-agent.git
synced 2024-05-09 09:54:52 +00:00
Update distro to support BeagleBoard (#328)
This commit is contained in:
@@ -64,6 +64,10 @@ elif [ "${OS}" = "Linux" ] ; then
|
|||||||
DIST="${DIST}/PVE `/usr/bin/pveversion | cut -d '/' -f 2`"
|
DIST="${DIST}/PVE `/usr/bin/pveversion | cut -d '/' -f 2`"
|
||||||
IGNORE_OS_RELEASE=1
|
IGNORE_OS_RELEASE=1
|
||||||
fi
|
fi
|
||||||
|
if [ -f /etc/dogtag ]; then
|
||||||
|
DIST=`cat /etc/dogtag`
|
||||||
|
IGNORE_OS_RELEASE=1
|
||||||
|
fi
|
||||||
|
|
||||||
elif [ -f /etc/gentoo-release ] ; then
|
elif [ -f /etc/gentoo-release ] ; then
|
||||||
DIST="Gentoo"
|
DIST="Gentoo"
|
||||||
|
|||||||
Reference in New Issue
Block a user