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:
@ -77,6 +77,10 @@ elif [ "${OS}" = "Linux" ] ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "`uname -a | awk '{print $(NF)}'`" = "DD-WRT" ] ; then
|
||||||
|
DIST="dd-wrt"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "${REV}" ]
|
if [ -n "${REV}" ]
|
||||||
then
|
then
|
||||||
OSSTR="${DIST} ${REV}"
|
OSSTR="${DIST} ${REV}"
|
||||||
|
Reference in New Issue
Block a user