From: Harald Hoyer Date: Thu, 29 Mar 2012 09:40:16 +0000 (+0200) Subject: 90livenet/parse-livenet.sh: unset CMDLINE, after adding parameters X-Git-Tag: 018~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61c4c8323528c33c7d680d34d8edb8418e3c8109;p=thirdparty%2Fdracut.git 90livenet/parse-livenet.sh: unset CMDLINE, after adding parameters --- diff --git a/modules.d/90livenet/parse-livenet.sh b/modules.d/90livenet/parse-livenet.sh index 3553cef1e..d1eb474fe 100755 --- a/modules.d/90livenet/parse-livenet.sh +++ b/modules.d/90livenet/parse-livenet.sh @@ -9,7 +9,10 @@ updates=$(getarg live.updates=) if [ -n "$updates" ]; then # make sure network comes up even if we're doing a local live device - [ -z "$netroot" ] && echo "rd.neednet=1" > /etc/cmdline.d/90livenet.conf + if [ -z "$netroot" ]; then + echo "rd.neednet=1" > /etc/cmdline.d/90livenet.conf + unset CMDLINE + fi echo "$updates" > /tmp/liveupdates.info echo '[ -e /tmp/liveupdates.done ]' > \ $hookdir/initqueue/finished/liveupdates.sh