From d27400ce146c5e3a340eec8f614012ced2ddc29b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 22 Dec 2007 10:23:50 +0100 Subject: Merging casper 1.113. --- debian/init | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian') diff --git a/debian/init b/debian/init index d59ed45..149314b 100644 --- a/debian/init +++ b/debian/init @@ -24,6 +24,9 @@ DO_SNAPSHOT=/sbin/live-snapshot # Exit if system was not booted by live-initramfs grep -qs boot=live /proc/cmdline || exit 0 +# Exit if the system was booted from an ISO image rather than a physical CD +grep -qs find_iso= /proc/cmdline && exit 0 + # Read configuration variable file if it is present [ -r /etc/live.conf ] && . /etc/live.conf -- cgit v1.2.3