X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-cmdline-old;h=f04c0ff1259290688d25b4bb2787b7d502af0e26;hb=e6f399c69f13300dd83949266d4ab6161768faa5;hp=efb33c17e16576e98c0d91bda501a947b4ae778c;hpb=a09ea36d4fde0e56cd34a27716c25395ae41b116;p=live-boot-grml.git diff --git a/components/9990-cmdline-old b/components/9990-cmdline-old index efb33c1..f04c0ff 100755 --- a/components/9990-cmdline-old +++ b/components/9990-cmdline-old @@ -17,6 +17,17 @@ Cmdline_old () BOOTIF=*) 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 @@ -28,12 +39,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 +91,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 +153,11 @@ Cmdline_old () export NFS_COW ;; + nodhcphostname) + NODHCPHOSTNAME="Yes" + export NODHCPHOSTNAME + ;; + nofstab) NOFSTAB="true" export NOFSTAB @@ -241,6 +259,11 @@ Cmdline_old () UNIONTYPE="${_PARAMETER#union=}" export UNIONTYPE ;; + + vlan=*) + VLANS="${VLANS} ${_PARAMETER#vlan=}" + export VLANS + ;; esac done