X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=components%2F9990-select-eth-device.sh;fp=scripts%2Fboot%2F9990-select-eth-device.sh;h=7d1aa163282e002b68ebb7b9956a3b34fce2e3ec;hb=3b9aa28dd04d694d49a07cf4d13fc8c704891f5b;hp=14fa4ef9c8b2546376010776008219a91d899749;hpb=659360c19ad0a28a430545149fc2c4f834d11007;p=live-boot-grml.git diff --git a/scripts/boot/9990-select-eth-device.sh b/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 --- a/scripts/boot/9990-select-eth-device.sh +++ b/components/9990-select-eth-device.sh @@ -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=*)