summaryrefslogtreecommitdiff
path: root/etc/initd/initd.redhat
diff options
context:
space:
mode:
Diffstat (limited to 'etc/initd/initd.redhat')
-rw-r--r--etc/initd/initd.redhat4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/initd/initd.redhat b/etc/initd/initd.redhat
index bf6211e..2dda9ed 100644
--- a/etc/initd/initd.redhat
+++ b/etc/initd/initd.redhat
@@ -24,7 +24,7 @@ start()
echo
[ $RETVAL -eq 0 ] || return
- touch /var/lock/subsys/iscsi
+ touch /var/lock/subsys/open-iscsi
echo -n $"Setting up iSCSI targets: "
TARGETS=`iscsiadm -m node 2>/dev/null | sed 's/ /@/g'`
@@ -59,7 +59,7 @@ stop()
pkill -KILL iscsid
rm -f /etc/iscsi/iscsid.pid
#killproc iscsid
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/iscsi
+ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/open-iscsi
modprobe -r iscsi_tcp 2>/dev/null
success
echo