look for rd.live.image not liveimg on command line - ref. livecd-tools-18.6

This commit is contained in:
Adam Williamson
2012-07-31 13:12:37 -07:00
parent 38121840f9
commit aa39c91a41
2 changed files with 2 additions and 2 deletions

View File

@@ -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