summaryrefslogtreecommitdiff
path: root/scripts/boot/mount-iscsi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/boot/mount-iscsi.sh')
-rwxr-xr-xscripts/boot/mount-iscsi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/boot/mount-iscsi.sh b/scripts/boot/mount-iscsi.sh
index 35e2b46..fd29d91 100755
--- a/scripts/boot/mount-iscsi.sh
+++ b/scripts/boot/mount-iscsi.sh
@@ -8,7 +8,7 @@ do_iscsi()
#modprobe ib_iser
modprobe iscsi_tcp
local debugopt=""
- [ "${DEBUG}" = "Yes" ] && debugopt="-d 8"
+ [ "${DEBUG}" = "true" ] && debugopt="-d 8"
#FIXME this name is supposed to be unique - some date + ifconfig hash?
ISCSI_INITIATORNAME="iqn.1993-08.org.debian.live:01:$(echo "${HWADDR}" | sed -e s/://g)"
export ISCSI_INITIATORNAME