linuxrc: simplify iscsi setup code

master
Fabio Erculiani 12 years ago
parent 138b1f8492
commit 798c45d3da

@ -1065,6 +1065,10 @@ start_volumes() {
} }
start_iscsi() { start_iscsi() {
if [ ! -e /usr/sbin/iscsistart ]; then
return 0 # disabled
fi
if [ ! -n "${ISCSI_NOIBFT}" ] if [ ! -n "${ISCSI_NOIBFT}" ]
then then
good_msg "Activating iSCSI via iBFT" good_msg "Activating iSCSI via iBFT"

@ -271,11 +271,7 @@ fi
cd / cd /
# Start iSCSI start_iscsi
if [ -e /usr/sbin/iscsistart ]
then
start_iscsi
fi
# Setup btrfs, see bug 303529 # Setup btrfs, see bug 303529
setup_btrfsctl setup_btrfsctl

Loading…
Cancel
Save