Blame SOURCES/ipmitool-1.8.10-ipmievd-condrestart.patch

eb553e
532188 -  ipmievd init script's condrestart doesn't work
eb553e
eb553e
Author: Ville Skyttä (ville.skytta@iki.fi)
eb553e
Sent upstream as https://sourceforge.net/tracker/?func=detail&aid=2889888&group_id=95200&atid=610552
eb553e
eb553e
Index: contrib/ipmievd.init.redhat
eb553e
===================================================================
eb553e
RCS file: /cvsroot/ipmitool/ipmitool/contrib/ipmievd.init.redhat,v
eb553e
retrieving revision 1.1
eb553e
diff -u -r1.1 ipmievd.init.redhat
eb553e
--- contrib/ipmievd.init.redhat	19 Mar 2006 23:05:48 -0000	1.1
eb553e
+++ contrib/ipmievd.init.redhat	31 Oct 2009 08:50:07 -0000
eb553e
@@ -62,6 +62,11 @@
eb553e
 	return $ret
eb553e
 }
eb553e
 
eb553e
+restart() {
eb553e
+	stop
eb553e
+	start
eb553e
+}
eb553e
+
eb553e
 case "$1" in
eb553e
     start)
eb553e
 	start
eb553e
@@ -72,11 +77,10 @@
eb553e
     status)
eb553e
 	status $IPMIEVD_BIN
eb553e
 	;;
eb553e
-    restart|reload)
eb553e
-    	stop
eb553e
-	start
eb553e
+    restart|reload|force-reload)
eb553e
+	restart
eb553e
 	;;
eb553e
-    condrestart)
eb553e
+    try-restart|condrestart)
eb553e
 	[ -f /var/lock/subsys/ipmievd ] && restart || :
eb553e
 	;;
eb553e
     *)