freeipmi/freeipmi-0.4.6-rpmlint.patch
2007-11-07 15:12:58 +00:00

48 lines
1.5 KiB
Diff

diff -up freeipmi-0.4.6/ipmidetect/freeipmi-ipmidetectd.init.rpmlint freeipmi-0.4.6/ipmidetect/freeipmi-ipmidetectd.init
--- freeipmi-0.4.6/ipmidetect/freeipmi-ipmidetectd.init.rpmlint 2007-03-02 01:56:26.000000000 +0100
+++ freeipmi-0.4.6/ipmidetect/freeipmi-ipmidetectd.init 2007-11-06 16:11:46.000000000 +0100
@@ -1,16 +1,16 @@
#!/bin/sh
# $Id$
#
-# chkconfig: 2345 70 40
+# chkconfig: - 70 40
# description: ipmidetectd startup script
#
### BEGIN INIT INFO
# Provides: ipmidetectd
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
-# Default-Start: 3 5
# Default-Stop: 0 1 2 6
-# Description: Start ipmidetectd-
+# Short-Description: Start and stop ipmidetectd
+# Description: IPMI node detection monitoring daemon
### END INIT INFO
IPMIDETECTD=/usr/sbin/ipmidetectd
@@ -24,20 +24,20 @@ if [ -f /etc/rc.d/init.d/functions ] ; t
daemon $IPMIDETECTD
RETVAL=$?
echo
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/ipmidetectd
+ [ $RETVAL -eq 0 ] && touch /var/lock/subsys/freeipmi-ipmidetectd
}
Xstop() {
killproc ipmidetectd -TERM
RETVAL=$?
echo
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/ipmidetectd
+ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/freeipmi-ipmidetectd
}
Xstatus() {
status ipmidetectd
RETVAL=$?
}
Xcondrestart() {
- if test -e /var/lock/subsys/ipmidetectd; then
+ if test -e /var/lock/subsys/freeipmi-ipmidetectd; then
$0 stop
$0 start
RETVAL=$?