Merge pull request #2023 from paszczus/master

- added PLD Linux support to distro script
This commit is contained in:
Neil Lathwood
2015-09-29 16:42:37 +01:00
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -56,5 +56,6 @@ Contributors to LibreNMS:
- Christophe Martinet <martinet.christophe@gmail.com> (chrisgfx)
- Nils Steinger <librenms@voidptr.de> (n-st)
- Mark Nagel <mnagel@willingminds.com> (ciscoqid)
- Sławomir Paszkiewicz <paszczus@pld-linux.org> (paszczus)
[1]: http://observium.org/ "Observium web site"
+4
View File
@@ -56,6 +56,10 @@ elif [ "${OS}" = "Linux" ] ; then
elif [ -f /etc/openwrt_version ] ; then
DIST="OpenWrt"
REV=$(cat /etc/openwrt_version)
elif [ -f /etc/pld-release ] ; then
DIST=$(cat /etc/pld-release)
REV=""
fi
if [ -f /etc/lsb-release -a "${IGNORE_LSB}" != 1 ] ; then