X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Finit;h=149314bef0afb35888d704ed1b48ecaa7ae04694;hb=69711afc9791c7cf5ff968d87f9abdc23ad2d253;hp=d59ed452f30c86e7a930bb21ea954f888d3b74c6;hpb=b9f1a7fdf6528f3af7ed94af70cdd2567351ca2d;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