tree 52d73cd6c3e3eb7baac92e9bdb524e47b39a7969
parent bf0e6c96e01cfb9ff8a5232c93866a5bbbe0d76b
author Hannes Reinecke <hare@suse.de> 1183549502 +0200
committer Hannes Reinecke <hare@suse.de> 1183549502 +0200

Fix SuSE init script

Our build checker found several omissions in the init script.
So have it fixed.

Signed-off-by: Hannes Reinecke <hare@suse.de>
505f63168e98bf0a09ed2582d2d684b77d485193
 etc/initd/initd.suse |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/etc/initd/initd.suse b/etc/initd/initd.suse
index 163479e..651891c 100644
--- a/etc/initd/initd.suse
+++ b/etc/initd/initd.suse
@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# /etc/init.d/iscsi
+# /etc/init.d/open-iscsi
 #
 ### BEGIN INIT INFO
 # Provides:          iscsi
@@ -11,7 +11,12 @@
 # Default-Start:     3 5
 # Default-Stop:      
 # Short-Description: Starts and stops the iSCSI client initiator
-#                    
+# Description: Start iSCSI iniitiator
+#	The iSCSI protocol provides access to a SCSI device
+#	across a network. This script initalizes and starts
+#	the iSCSI initiator daemon which manages the access to
+#	these devices. The iSCSI devices itself appear as normal
+#	SCSI disks to the operating system.
 ### END INIT INFO
 
 PID_FILE=/var/run/iscsi.pid
@@ -111,6 +116,10 @@ case "$1" in
 	sleep 1
 	$0 start
 	;;
+    reload)
+	rc_failed 0
+	rc_status -v
+	;;
     *)
 	echo "Usage: $0 {start|stop|status|restart}"
 	exit 1
