diff --git a/net-snmp.spec b/net-snmp.spec index 672168f..530585b 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -8,7 +8,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: %{major_ver} -Release: 16%{?dist} +Release: 17%{?dist} Epoch: 1 License: BSD and MIT @@ -429,6 +429,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_datadir}/snmp/mibs %changelog +* Mon Sep 14 2009 Jan Safranek 1:5.4.2.1-17 +- implement force-reload command in initscripts (#523126) + * Fri Aug 21 2009 Tomas Mraz - 1:5.4.2.1-16 - rebuilt with new openssl diff --git a/net-snmpd.init b/net-snmpd.init index 98b2b6a..68e4a4e 100755 --- a/net-snmpd.init +++ b/net-snmpd.init @@ -95,7 +95,7 @@ case "$1" in restart RETVAL=$? ;; - reload) + reload|force-reload) reload RETVAL=$? ;; @@ -108,7 +108,7 @@ case "$1" in RETVAL=$? ;; *) - echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" + echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload}" RETVAL=2 esac diff --git a/net-snmptrapd.init b/net-snmptrapd.init index bba1b6a..76ae00c 100755 --- a/net-snmptrapd.init +++ b/net-snmptrapd.init @@ -84,7 +84,7 @@ case "$1" in restart RETVAL=$? ;; - reload) + reload|force-reload) reload RETVAL=$? ;; @@ -97,7 +97,7 @@ case "$1" in RETVAL=$? ;; *) - echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" + echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload}" RETVAL=2 esac