2008-08-29 02:59:20 +02:00
|
|
|
--- open-iscsi-2.0-870-rc1/etc/initd/boot.suse
|
|
|
|
+++ open-iscsi-2.0-870-rc1/etc/initd/boot.suse
|
|
|
|
@@ -5,13 +5,15 @@
|
|
|
|
### BEGIN INIT INFO
|
|
|
|
# Provides: iscsiboot
|
|
|
|
# Required-Start: boot.proc
|
|
|
|
-# Should-Start:
|
|
|
|
-# Required-Stop:
|
|
|
|
+# Should-Start:
|
|
|
|
+# Required-Stop: $null
|
2008-07-25 16:58:50 +02:00
|
|
|
# Should-Stop:
|
|
|
|
# Default-Start: B
|
|
|
|
# Default-Stop:
|
|
|
|
-# Short-Description: Starts the iSCSI initiator daemon
|
|
|
|
-#
|
|
|
|
+# Short-Description: iSCSI initiator daemon root-fs support
|
|
|
|
+# Description: Starts the iSCSI initiator daemon if the
|
|
|
|
+# root-filesystem is on an iSCSI device
|
|
|
|
+#
|
|
|
|
### END INIT INFO
|
|
|
|
|
|
|
|
ISCSIADM=/sbin/iscsiadm
|
2008-08-29 02:59:20 +02:00
|
|
|
@@ -56,7 +58,7 @@
|
2008-07-25 16:58:50 +02:00
|
|
|
rc_status -v
|
|
|
|
iscsi_mark_root_nodes
|
|
|
|
;;
|
|
|
|
- stop)
|
|
|
|
+ stop|restart|reload)
|
|
|
|
rc_failed 0
|
|
|
|
;;
|
|
|
|
status)
|
2008-08-29 02:59:20 +02:00
|
|
|
@@ -68,13 +70,8 @@
|
2008-07-25 16:58:50 +02:00
|
|
|
rc_status -v
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
- restart)
|
|
|
|
- $0 stop
|
|
|
|
- sleep 1
|
|
|
|
- $0 start
|
|
|
|
- ;;
|
|
|
|
*)
|
|
|
|
- echo "Usage: $0 {start|stop|status|restart}"
|
|
|
|
+ echo "Usage: $0 {start|stop|status|restart|reload}"
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
2008-08-29 02:59:20 +02:00
|
|
|
--- open-iscsi-2.0-870-rc1/etc/initd/initd.suse
|
|
|
|
+++ open-iscsi-2.0-870-rc1/etc/initd/initd.suse
|
|
|
|
@@ -6,11 +6,13 @@
|
|
|
|
# Provides: iscsi
|
|
|
|
# Required-Start: $network
|
|
|
|
# Should-Start: iscsitarget
|
|
|
|
-# Required-Stop:
|
|
|
|
-# Should-Stop:
|
|
|
|
+# Required-Stop: $network
|
|
|
|
+# Should-Stop: iscsitarget
|
2008-07-25 16:58:50 +02:00
|
|
|
# Default-Start: 3 5
|
|
|
|
# Default-Stop:
|
|
|
|
-# Short-Description: Starts and stops the iSCSI client initiator
|
|
|
|
+# Short-Description: iSCSI initiator daemon
|
|
|
|
+# Description: The iSCSI initator is used to create and
|
|
|
|
+# manage iSCSI connections to a iSCSI Target.
|
|
|
|
#
|
|
|
|
### END INIT INFO
|
|
|
|
|
2008-08-29 02:59:20 +02:00
|
|
|
@@ -190,13 +192,13 @@
|
2008-07-25 16:58:50 +02:00
|
|
|
rc_status -v
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
- restart)
|
|
|
|
+ restart|reload)
|
|
|
|
$0 stop
|
|
|
|
sleep 1
|
|
|
|
$0 start
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
- echo "Usage: $0 {start|stop|status|restart}"
|
|
|
|
+ echo "Usage: $0 {start|stop|status|restart|reload}"
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|