X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-cmdline-old;h=975ade20c1918ef6e30041c28e90fdeb1f02a161;hb=9f0266a0a0e66de04153c4c9caa5e19c92b111c1;hp=efb33c17e16576e98c0d91bda501a947b4ae778c;hpb=0ed42c4a3a98e506a5e8e8a6d40b632e572fa0b5;p=live-boot-grml.git diff --git a/components/9990-cmdline-old b/components/9990-cmdline-old index efb33c1..975ade2 100755 --- a/components/9990-cmdline-old +++ b/components/9990-cmdline-old @@ -18,6 +18,18 @@ Cmdline_old () BOOTIF="${_PARAMETER#BOOTIF=}" ;; + dns=*) + DNS=${_PARAMETER#dns=} + DNSSERVERS=$(echo ${DNS} | sed 's/,/ /g') + export DNSSERVERS + unset DNS + ;; + + bootid=*) + BOOTID="${_PARAMETER#bootid=}" + export BOOTID + ;; + dhcp) # Force dhcp even while netbooting # Use for debugging in case somebody works on fixing dhclient @@ -28,12 +40,13 @@ Cmdline_old () nodhcp) DHCP="" export DHCP + NODHCP="Yes" + export NODHCP ;; ethdevice=*) - DEVICE="${_PARAMETER#ethdevice=}" - ETHDEVICE="${DEVICE}" - export DEVICE ETHDEVICE + ETHDEVICE="${_PARAMETER#ethdevice=}" + export ETHDEVICE ;; ethdevice-timeout=*) @@ -79,19 +92,20 @@ Cmdline_old () export FROMISO ;; + ignore_bootid) + IGNORE_BOOTID="Yes" + export IGNORE_BOOTID + ;; + ignore_uuid) IGNORE_UUID="true" export IGNORE_UUID ;; ip=*) - STATICIP="${_PARAMETER#ip=}" - - if [ -z "${STATICIP}" ] - then - STATICIP="frommedia" - fi - + # copy complete ip=args into staticip, and + # keep multiple uses. + STATICIP="${STATICIP} ${_PARAMETER}" export STATICIP ;; @@ -140,6 +154,11 @@ Cmdline_old () export NFS_COW ;; + nodhcphostname) + NODHCPHOSTNAME="Yes" + export NODHCPHOSTNAME + ;; + nofstab) NOFSTAB="true" export NOFSTAB @@ -241,6 +260,11 @@ Cmdline_old () UNIONTYPE="${_PARAMETER#union=}" export UNIONTYPE ;; + + vlan=*) + VLANS="${VLANS} ${_PARAMETER#vlan=}" + export VLANS + ;; esac done