From 3b1dbdf220fef1b03559242fafd11175d5df7d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Paszkiewicz?= Date: Tue, 29 Sep 2015 15:14:53 +0200 Subject: [PATCH 1/2] - added PLD Linux support to distro script --- scripts/distro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/distro b/scripts/distro index 88b2fda39..a9163da15 100755 --- a/scripts/distro +++ b/scripts/distro @@ -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 From 75119b111c4ee32facfb40e4926f1aaef0dda79b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Paszkiewicz?= Date: Tue, 29 Sep 2015 15:36:16 +0200 Subject: [PATCH 2/2] - I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md --- AUTHORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS.md b/AUTHORS.md index 694329cd8..6ae497f9e 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -56,5 +56,6 @@ Contributors to LibreNMS: - Christophe Martinet (chrisgfx) - Nils Steinger (n-st) - Mark Nagel (ciscoqid) +- Sławomir Paszkiewicz (paszczus) [1]: http://observium.org/ "Observium web site"