Add iBFT support for iSCSI

cleanup-cruft
craig 14 years ago committed by Sebastian Pipping
parent 23fd924325
commit d9f46bb513

@ -689,10 +689,16 @@ startVolumes() {
} }
startiscsi() { startiscsi() {
if [ ! -n "${ISCSI_NOIBFT}" ]
then
good_msg "Activating iSCSI via iBFT"
iscsistart -b
fi
if [ -n "${ISCSI_INITIATORNAME}" ] && [ -n "${ISCSI_TARGET}" ] && [ -n "${ISCSI_ADDRESS}" ] if [ -n "${ISCSI_INITIATORNAME}" ] && [ -n "${ISCSI_TARGET}" ] && [ -n "${ISCSI_ADDRESS}" ]
then then
good_msg "Activating iSCSI" good_msg "Activating iSCSI via cmdline"
if [ "${ISCSI_TGPT}" ] if [ "${ISCSI_TGPT}" ]
then then

@ -294,7 +294,10 @@ start_dev_mgr
[ "${DO_slowusb}" ] && sleep 10 [ "${DO_slowusb}" ] && sleep 10
# Start iSCSI # Start iSCSI
startiscsi if [ -e /bin/iscsistart ]
then
startiscsi
fi
# Setup btrfs, see bug 303529 # Setup btrfs, see bug 303529
setup_btrfsctl setup_btrfsctl

Loading…
Cancel
Save