Accepting request 239289 from net-snmp:factory

- merge some old fixes from SLE 11:
  * init script should provide snmpd. (bnc#466805) 
  * stop all snmp agents when stopping the daemon. (bnc#473328) (forwarded request 238408 from leonardocf)

OBS-URL: https://build.opensuse.org/request/show/239289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-snmp?expand=0&rev=70
This commit is contained in:
Stephan Kulow 2014-07-10 06:16:39 +00:00 committed by Git OBS Bridge
parent 3d79696415
commit d1acc7ab42
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 16 13:58:17 CEST 2014 - lchiquitto@suse.com
- merge some old fixes from SLE 11:
* init script should provide snmpd. (bnc#466805)
* stop all snmp agents when stopping the daemon. (bnc#473328)
-------------------------------------------------------------------
Sat May 17 18:57:58 UTC 2014 - coolo@suse.de

View File

@ -6,7 +6,7 @@
# /etc/init.d/snmpd
#
### BEGIN INIT INFO
# Provides: net-snmp snmp
# Provides: net-snmp snmp snmpd
# Required-Start: $remote_fs
# Should-Start: $syslog $network
# Required-Stop: $remote_fs
@ -131,6 +131,7 @@ case "$1" in
killproc -TERM $SNMPD
rc_status -v ; rc_reset
# we also need to make sure all agents die
get_agents
if test -n "$agents"; then
for agent in $AGENTDIR/*; do
test -x $agent || continue