1
0
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:
arrmo
2020-09-04 16:29:03 -05:00
committed by GitHub
parent 399d2630f4
commit 241595592f

View File

@@ -64,6 +64,10 @@ elif [ "${OS}" = "Linux" ] ; then
DIST="${DIST}/PVE `/usr/bin/pveversion | cut -d '/' -f 2`"
IGNORE_OS_RELEASE=1
fi
if [ -f /etc/dogtag ]; then
DIST=`cat /etc/dogtag`
IGNORE_OS_RELEASE=1
fi
elif [ -f /etc/gentoo-release ] ; then
DIST="Gentoo"