Adding upstream version 4.0~a14.
[live-boot-grml.git] / components / 9990-select-eth-device.sh
similarity index 96%
rename from scripts/boot/9990-select-eth-device.sh
rename to components/9990-select-eth-device.sh
index 14fa4ef..7d1aa16 100755 (executable)
@@ -6,7 +6,7 @@ Select_eth_device ()
        bootconf=$(egrep '^BOOT=' /conf/initramfs.conf | tail -1)
 
        # can be superseded by command line (used by Debian-Live's netboot for example)
-       for ARGUMENT in ${_CMDLINE}
+       for ARGUMENT in ${LIVE_BOOT_CMDLINE}
        do
                case "${ARGUMENT}" in
                        netboot=*)
@@ -46,7 +46,7 @@ Select_eth_device ()
                fi
 
                # If user force to use specific device, write it
-               for ARGUMENT in ${_CMDLINE}
+               for ARGUMENT in ${LIVE_BOOT_CMDLINE}
                do
                        case "${ARGUMENT}" in
                                live-netdev=*)