SOURCES: open-iscsi.init - is there any point in trying to log into iscsi t...
arekm
arekm at pld-linux.org
Tue Oct 14 09:39:21 CEST 2008
Author: arekm Date: Tue Oct 14 07:39:21 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- is there any point in trying to log into iscsi targets if iscsid failed?
---- Files affected:
SOURCES:
open-iscsi.init (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SOURCES/open-iscsi.init
diff -u SOURCES/open-iscsi.init:1.4 SOURCES/open-iscsi.init:1.5
--- SOURCES/open-iscsi.init:1.4 Mon Mar 3 20:35:54 2008
+++ SOURCES/open-iscsi.init Tue Oct 14 09:39:15 2008
@@ -33,8 +33,10 @@
msg_starting "iSCSI Initiator"
daemon iscsid -u iscsi -g iscsi
RETVAL=$?
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/iscsid
- run_cmd "Logging into iSCSI targets" iscsiadm -m node -L automatic
+ if [ $RETVAL -eq 0 ]; then
+ touch /var/lock/subsys/iscsid
+ run_cmd "Logging into iSCSI targets" iscsiadm -m node -L automatic
+ fi
else
msg_already_running "iSCSI Initiator"
fi
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/open-iscsi.init?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list