Consistenly using 'true' instead of 'Yes' or 'yes' when using booleans.
[live-boot-grml.git] / scripts / boot / mount-iscsi.sh
index e9cd9cf..fd29d91 100755 (executable)
@@ -1,12 +1,14 @@
 #!/bin/sh
 
+#set -e
+
 do_iscsi()
 {
        do_netsetup
        #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