implemented mandatory 'force-reload' command in ipmi service

This commit is contained in:
Jan Šafránek 2010-03-18 15:01:15 +00:00
parent 0f9a8f013b
commit 99c665a9e1
2 changed files with 8 additions and 3 deletions

View File

@ -4,7 +4,7 @@
Summary: IPMI (Intelligent Platform Management Interface) library and tools Summary: IPMI (Intelligent Platform Management Interface) library and tools
Name: OpenIPMI Name: OpenIPMI
Version: 2.0.16 Version: 2.0.16
Release: 11%{?dist} Release: 12%{?dist}
License: LGPLv2+ and GPLv2+ or BSD License: LGPLv2+ and GPLv2+ or BSD
Group: System Environment/Base Group: System Environment/Base
URL: http://sourceforge.net/projects/openipmi/ URL: http://sourceforge.net/projects/openipmi/
@ -164,6 +164,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/applications/fedora-openipmigui.desktop %{_datadir}/applications/fedora-openipmigui.desktop
%changelog %changelog
* Thu Mar 18 2010 Jan Safranek <jsafrane@redhat.com> - 2.0.16-12
- implemented mandatory 'force-reload' command in ipmi service
* Thu Mar 11 2010 Jan Safranek <jsafrane@redhat.com> - 2.0.16-11 * Thu Mar 11 2010 Jan Safranek <jsafrane@redhat.com> - 2.0.16-11
- rebuild against new gdbm - rebuild against new gdbm

View File

@ -542,11 +542,12 @@ status_powercontrol()
############################################################################# #############################################################################
usage () usage ()
{ {
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart" 1>&2 echo $"Usage: $0 {start|stop|status" 1>&2
echo $" restart|condrestart|try-restart|reload|force-reload" 1>&2
echo $" start-watchdog|stop-watchdog|status-watchdog" 1>&2 echo $" start-watchdog|stop-watchdog|status-watchdog" 1>&2
echo $" start-powercontrol|stop-powercontrol|status-powercontrol" 1>&2 echo $" start-powercontrol|stop-powercontrol|status-powercontrol" 1>&2
echo $" stop-all|status-all}" 1>&2 echo $" stop-all|status-all}" 1>&2
RETVAL=1 RETVAL=2
} }
condrestart () condrestart ()
@ -561,6 +562,7 @@ case "$1" in
start) start ;; start) start ;;
stop) stop ;; stop) stop ;;
restart) restart ;; restart) restart ;;
force-reload) reload ;;
reload) reload ;; reload) reload ;;
status) status ;; status) status ;;
status-all) status_all ;; status-all) status_all ;;