Adding upstream version 4.0~a14.
[live-boot-grml.git] / components / 9990-mount-iscsi.sh
similarity index 96%
rename from scripts/boot/9990-mount-iscsi.sh
rename to components/9990-mount-iscsi.sh
index 6ce9851..c9bab90 100755 (executable)
@@ -9,7 +9,7 @@ do_iscsi()
        modprobe iscsi_tcp
        local debugopt
        debugopt=""
-       [ "${DEBUG}" = "true" ] && debugopt="-d 8"
+       [ "${LIVE_BOOT_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