X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=blobdiff_plain;f=components%2F9990-cmdline-old;h=6ac6eb558cf3045a2d38885039560b14a654c1b0;hp=91c1449d6da030bd0ee4a265f233054a20431bc4;hb=HEAD;hpb=1782f14f97bc63b0f0dde79e157e0806e0aaad44 diff --git a/components/9990-cmdline-old b/components/9990-cmdline-old index 91c1449..1504e1e 100755 --- a/components/9990-cmdline-old +++ b/components/9990-cmdline-old @@ -17,18 +17,11 @@ Cmdline_old () BOOTIF=*) BOOTIF="${_PARAMETER#BOOTIF=}" ;; - dns=*) - DNSSERVER="${_PARAMETER#*=}" - if echo "${DNSSERVER}" | grep -q , ; then - DNSSERVER1="${DNSSERVER%,*}" - DNSSERVER2="${DNSSERVER#*,}" - export DNSSERVER1 DNSSERVER2 - else - DNSSERVER1="$DNSSERVER" - export DNSSERVER1 - fi - unset DNSSERVER + DNS=${_PARAMETER#dns=} + DNSSERVERS=$(echo ${DNS} | sed 's/,/ /g') + export DNSSERVERS + unset DNS ;; bootid=*) @@ -46,7 +39,7 @@ Cmdline_old () nodhcp) DHCP="" export DHCP - NODHCP="Yes" + NODHCP="true" export NODHCP ;; @@ -184,6 +177,11 @@ Cmdline_old () ramdisk_size="${_PARAMETER#ramdisk-size=}" ;; + overlay-size=*) + OVERLAY_SIZE="${_PARAMETER#overlay-size=}" + export OVERLAY_SIZE + ;; + persistence) PERSISTENCE="true" export PERSISTENCE @@ -218,7 +216,7 @@ Cmdline_old () ;; persistence-label=*) - custom_overlay_label="${_PARAMETER#persistence-label=*}" + custom_overlay_label=$(echo ${_PARAMETER#persistence-label=*} | sed -e 's/,/ /g') ;; nopersistence) @@ -271,6 +269,11 @@ Cmdline_old () UNIONTYPE="${_PARAMETER#union=}" export UNIONTYPE ;; + + vlan=*) + VLANS="${VLANS} ${_PARAMETER#vlan=}" + export VLANS + ;; esac done