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

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