Blame SOURCES/0001-ipmitool-1.8.10-ipmievd-init.patch.patch

fd3128
From 88c6180c807bcdcbe5a189fa7a2a7432cd3a750d Mon Sep 17 00:00:00 2001
fd3128
From: Boris Ranto <branto@redhat.com>
fd3128
Date: Fri, 6 Nov 2015 12:06:52 +0100
fd3128
Subject: [PATCH 01/11] ipmitool-1.8.10-ipmievd-init.patch
fd3128
fd3128
562186 - Initscript of the ipmievd service not LSB compliant
fd3128
fd3128
Backported by: dgregor jsafrane
fd3128
---
fd3128
 contrib/ipmievd.init.redhat | 8 ++++----
fd3128
 1 file changed, 4 insertions(+), 4 deletions(-)
fd3128
fd3128
diff --git a/contrib/ipmievd.init.redhat b/contrib/ipmievd.init.redhat
fd3128
index 1c0253d..7cf9d24 100755
fd3128
--- a/contrib/ipmievd.init.redhat
fd3128
+++ b/contrib/ipmievd.init.redhat
fd3128
@@ -5,7 +5,7 @@
fd3128
 #       Based on example sysvinitfiles script
fd3128
 #       Copyright (c) 2000 Red Hat Software, Inc.
fd3128
 #
fd3128
-# chkconfig: 345 99 00
fd3128
+# chkconfig: - 99 00
fd3128
 # description: ipmievd daemon to send events to syslog
fd3128
 # processname: ipmievd
fd3128
 # config:      /etc/sysconfig/ipmievd
fd3128
@@ -16,8 +16,8 @@
fd3128
 # Should-Start: $time
fd3128
 # Required-Stop:     $syslog ipmi
fd3128
 # Should-Stop: $time
fd3128
-# Default-Start:     3 4 5
fd3128
-# Default-Stop:      0 1 2 6
fd3128
+# Default-Start:     
fd3128
+# Default-Stop:      
fd3128
 # Short-Description: ipmievd daemon to send events to syslog
fd3128
 # Description:       Start ipmievd to read events from BMC and
fd3128
 #	             log them to syslog.  Events correspond to hardware faults,
fd3128
@@ -81,7 +81,7 @@ case "$1" in
fd3128
 	;;
fd3128
     *)
fd3128
 	echo "Usage: ipmievd {start|stop|status|reload|restart|condrestart}"
fd3128
-	exit 1
fd3128
+	exit 2
fd3128
 	;;
fd3128
 esac
fd3128
 exit $?
fd3128
-- 
fd3128
2.1.0
fd3128