From ab8229089de33ac50cb8ff56c1126dc5b53d2ec0 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 26 Apr 2011 19:10:40 +0200 Subject: [PATCH] rsyslog: improved to enable SNMP support when net-snmp is installed --- base/rsyslog/rsyslog.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/rsyslog/rsyslog.conf b/base/rsyslog/rsyslog.conf index 86b8f6160..45d05479e 100644 --- a/base/rsyslog/rsyslog.conf +++ b/base/rsyslog/rsyslog.conf @@ -25,3 +25,7 @@ fi if pkginstalled -f librelp; then var_append extraconfopt ' ' "--enable-relp" fi +# SNMP support +if pkginstalled -f net-snmp; then + var_append extraconfopt ' ' "--enable-snmp" +fi