fcoe-utils/fcoe-utils-1.0.7-init.patch
Jan Zeleny c30f31436b - renamed init script to fcoe (#497604)
- init script condrestart fixed
- fixed issue with accepting long options (#498551)
2009-05-14 14:17:13 +00:00

41 lines
939 B
Diff

--- fcoe-utils-1.0.7/etc/initd/initd.fedora 2009-03-27 21:40:22.000000000 +0100
+++ fcoe-utils-1.0.7/etc/initd/initd.fedora.update 2009-04-03 09:54:39.000000000 +0200
@@ -15,14 +15,17 @@
# this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
#
+# chkconfig: - 21 80
+#
# Maintained at www.Open-FCoE.org
### BEGIN INIT INFO
# Provides: fcoe
# Required-Start: network
# Required-Stop:
-# Default-Start: 3 5
-# Default-Stop: 3 5
+# Default-Start:
+# Default-Stop:
+# Short-Description: Open-FCoE SAN Setup
# Description: Open-FCoE SAN Setup
### END INIT INFO
@@ -183,6 +186,9 @@ service_start()
daemon --pidfile ${PID_FILE} ${FCOEMON}
fi
+ echo
+ touch /var/lock/subsys/fcoe
+
return
}
@@ -218,6 +224,7 @@ service_stop()
done
rm -f /var/run/fcoemon.*
rm -f /tmp/fcoemon.dcbd.*
+ rm -f /var/lock/subsys/fcoe
}
service_status()