From 45478555df856af51e707c3cd6ace716c709e0fb Mon Sep 17 00:00:00 2001 From: arrmo Date: Sun, 27 Aug 2017 14:59:15 -0500 Subject: [PATCH] Update Distro, for Raspbian Support (#144) --- snmp/distro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snmp/distro b/snmp/distro index 5886e5c..639ac22 100755 --- a/snmp/distro +++ b/snmp/distro @@ -47,6 +47,10 @@ elif [ "${OS}" = "Linux" ] ; then elif [ -f /etc/debian_version ] ; then DIST="Debian `cat /etc/debian_version`" REV="" + ID=`lsb_release -i | awk -F ':' '{print $2}' | sed 's/ //g'` + if [ "${ID}" = "Raspbian" ] ; then + DIST="Raspbian `cat /etc/debian_version`" + fi elif [ -f /etc/gentoo-release ] ; then DIST="Gentoo"