implement force-reload command in initscripts Resolves: #523126

This commit is contained in:
Jan Šafránek 2009-09-14 09:53:25 +00:00
parent 69ce7c971d
commit 209b537b63
3 changed files with 8 additions and 5 deletions

View File

@ -8,7 +8,7 @@
Summary: A collection of SNMP protocol tools and libraries Summary: A collection of SNMP protocol tools and libraries
Name: net-snmp Name: net-snmp
Version: %{major_ver} Version: %{major_ver}
Release: 16%{?dist} Release: 17%{?dist}
Epoch: 1 Epoch: 1
License: BSD and MIT License: BSD and MIT
@ -429,6 +429,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_datadir}/snmp/mibs %{_datadir}/snmp/mibs
%changelog %changelog
* Mon Sep 14 2009 Jan Safranek <orion@cora.nwra.com> 1:5.4.2.1-17
- implement force-reload command in initscripts (#523126)
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1:5.4.2.1-16 * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1:5.4.2.1-16
- rebuilt with new openssl - rebuilt with new openssl

View File

@ -95,7 +95,7 @@ case "$1" in
restart restart
RETVAL=$? RETVAL=$?
;; ;;
reload) reload|force-reload)
reload reload
RETVAL=$? RETVAL=$?
;; ;;
@ -108,7 +108,7 @@ case "$1" in
RETVAL=$? RETVAL=$?
;; ;;
*) *)
echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload}"
RETVAL=2 RETVAL=2
esac esac

View File

@ -84,7 +84,7 @@ case "$1" in
restart restart
RETVAL=$? RETVAL=$?
;; ;;
reload) reload|force-reload)
reload reload
RETVAL=$? RETVAL=$?
;; ;;
@ -97,7 +97,7 @@ case "$1" in
RETVAL=$? RETVAL=$?
;; ;;
*) *)
echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload}"
RETVAL=2 RETVAL=2
esac esac