From 61c4c8323528c33c7d680d34d8edb8418e3c8109 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 29 Mar 2012 11:40:16 +0200 Subject: [PATCH] 90livenet/parse-livenet.sh: unset CMDLINE, after adding parameters --- modules.d/90livenet/parse-livenet.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.47.3