X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Finit;h=149314bef0afb35888d704ed1b48ecaa7ae04694;hb=9a4d353bcc7f264e64d059a1da87fb29e21f4b55;hp=d59ed452f30c86e7a930bb21ea954f888d3b74c6;hpb=faa34974e0876cc8e82445bf39a5aa68faf81d6a;p=live-boot-grml.git 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