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
|
DAEMON=/usr/sbin/iscsid
|
||||||
ADM=/usr/sbin/iscsiadm
|
ADM=/usr/sbin/iscsiadm
|
||||||
NAME="iSCSI initiator service"
|
NAME="iSCSI initiator service"
|
||||||
UDEVINFO=/usr/bin/udevinfo
|
if [ -x "/usr/bin/udevinfo" ] ; then
|
||||||
|
UDEVINFO=/usr/bin/udevinfo
|
||||||
|
else
|
||||||
|
UDEVINFO="/sbin/udevadm info"
|
||||||
|
fi
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
after modules
|
after modules
|
||||||
@ -98,7 +102,7 @@ start() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "${#PATITIONS[*]}" == "0" ] ; then
|
if [ "${#PARTITIONS[*]}" == "0" ] ; then
|
||||||
einfo "No automatic nodes or attached disks found!"
|
einfo "No automatic nodes or attached disks found!"
|
||||||
ret=0
|
ret=0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user