From aa39c91a41394d82a178a50dc3a1a1140db457cb Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 31 Jul 2012 13:12:37 -0700 Subject: [PATCH] look for rd.live.image not liveimg on command line - ref. livecd-tools-18.6 --- fedora-live-base.ks | 2 +- fedora-live-mini.ks | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fedora-live-base.ks b/fedora-live-base.ks index 77c84d2..0810a99 100644 --- a/fedora-live-base.ks +++ b/fedora-live-base.ks @@ -70,7 +70,7 @@ cat > /etc/rc.d/init.d/livesys << EOF . /etc/init.d/functions -if ! strstr "\`cat /proc/cmdline\`" liveimg || [ "\$1" != "start" ]; then +if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ]; then exit 0 fi diff --git a/fedora-live-mini.ks b/fedora-live-mini.ks index 997f016..7d48921 100644 --- a/fedora-live-mini.ks +++ b/fedora-live-mini.ks @@ -310,7 +310,7 @@ cat > /etc/rc.d/init.d/livesys-late << EOF . /etc/init.d/functions -if ! strstr "\`cat /proc/cmdline\`" liveimg || [ "\$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then +if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then exit 0 fi