X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=blobdiff_plain;f=components%2F9990-cmdline-old;fp=components%2F9990-cmdline-old;h=6ac6eb558cf3045a2d38885039560b14a654c1b0;hp=c896bbbf58efc92a9eb59dc6e61915173bd5e0e8;hb=c8a5e53447ded45ce385a3a6a5c20adb834763c5;hpb=f35e0cfae2a2c7b15ed6a38211264b7b26b80a43 diff --git a/components/9990-cmdline-old b/components/9990-cmdline-old index c896bbb..6ac6eb5 100755 --- a/components/9990-cmdline-old +++ b/components/9990-cmdline-old @@ -39,13 +39,14 @@ Cmdline_old () nodhcp) DHCP="" export DHCP - NODHCP="Yes" + NODHCP="true" export NODHCP ;; ethdevice=*) - ETHDEVICE="${_PARAMETER#ethdevice=}" - export ETHDEVICE + DEVICE="${_PARAMETER#ethdevice=}" + ETHDEVICE="${DEVICE}" + export DEVICE ETHDEVICE ;; ethdevice-timeout=*) @@ -102,9 +103,13 @@ Cmdline_old () ;; ip=*) - # copy complete ip=args into staticip, and - # keep multiple uses. - STATICIP="${STATICIP} ${_PARAMETER}" + STATICIP="${_PARAMETER#ip=}" + + if [ -z "${STATICIP}" ] + then + STATICIP="frommedia" + fi + export STATICIP ;;