From e52776889cea5e3379422ce4ffb7171bba4fbdf1 Mon Sep 17 00:00:00 2001 From: arrmo Date: Sat, 26 Nov 2016 02:12:41 -0600 Subject: [PATCH] Update to Distro (to support dd-wrt) (#72) --- snmp/distro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snmp/distro b/snmp/distro index 11fc5d5..b8f15f8 100755 --- a/snmp/distro +++ b/snmp/distro @@ -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}"