--- 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 # 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 @@ -56,7 +58,7 @@ rc_status -v iscsi_mark_root_nodes ;; - stop) + stop|restart|reload) rc_failed 0 ;; status) @@ -68,13 +70,8 @@ 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 --- 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 # 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 @@ -190,13 +192,13 @@ 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