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

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