packages: net-snmp/net-snmpd.init Don't log levels notice, info, debug - sy...
arekm
arekm at pld-linux.org
Fri Dec 2 22:17:00 CET 2011
Author: arekm Date: Fri Dec 2 21:17:00 2011 GMT
Module: packages Tag: HEAD
---- Log message:
Don't log levels notice, info, debug - syslogs gets spammed.
---- Files affected:
packages/net-snmp:
net-snmpd.init (1.23 -> 1.24)
---- Diffs:
================================================================
Index: packages/net-snmp/net-snmpd.init
diff -u packages/net-snmp/net-snmpd.init:1.23 packages/net-snmp/net-snmpd.init:1.24
--- packages/net-snmp/net-snmpd.init:1.23 Fri Jan 28 00:00:07 2011
+++ packages/net-snmp/net-snmpd.init Fri Dec 2 22:16:55 2011
@@ -50,7 +50,7 @@
daemon /usr/bin/setsid /usr/sbin/snmpd \
$([ -n "$CONF_FILE" ] && echo "-C -c $CONF_FILE") \
$([ -n "$SNMPD_INITLIST" ] && echo "-I \"$SNMPD_INITLIST\"") \
- $(is_yes "$LOG_WARNINGS_MESSAGES_TO_SYSLOG" && echo "-LSid" ) \
+ $(is_yes "$LOG_WARNINGS_MESSAGES_TO_SYSLOG" && echo "-LS0-4d" ) \
-p /var/run/snmpd.pid $SNMPD_LISTEN_ADDRS </dev/null
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/snmpd
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmpd.init?r1=1.23&r2=1.24&f=u
More information about the pld-cvs-commit
mailing list