1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00

Update to Distro (to support dd-wrt) (#72)

This commit is contained in:
arrmo
2016-11-26 02:12:41 -06:00
committed by Neil Lathwood
parent c5fea261de
commit e52776889c

View File

@ -77,6 +77,10 @@ elif [ "${OS}" = "Linux" ] ; then
fi
fi
if [ "`uname -a | awk '{print $(NF)}'`" = "DD-WRT" ] ; then
DIST="dd-wrt"
fi
if [ -n "${REV}" ]
then
OSSTR="${DIST} ${REV}"