Bugfixed start script for open-iscsi
git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@9467 cbe59ace-07ea-0310-918e-868702b5370d
This commit is contained in:
parent
7989d4aaab
commit
4b510b987d
@ -12,7 +12,11 @@ INITIATORNAME=/etc/iscsi/initiatorname.iscsi
|
||||
DAEMON=/usr/sbin/iscsid
|
||||
ADM=/usr/sbin/iscsiadm
|
||||
NAME="iSCSI initiator service"
|
||||
if [ -x "/usr/bin/udevinfo" ] ; then
|
||||
UDEVINFO=/usr/bin/udevinfo
|
||||
else
|
||||
UDEVINFO="/sbin/udevadm info"
|
||||
fi
|
||||
|
||||
depend() {
|
||||
after modules
|
||||
@ -98,7 +102,7 @@ start() {
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "${#PATITIONS[*]}" == "0" ] ; then
|
||||
if [ "${#PARTITIONS[*]}" == "0" ] ; then
|
||||
einfo "No automatic nodes or attached disks found!"
|
||||
ret=0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user