X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Flive-boot.init;h=1a85267d5f51e6bea044da631109cccd87ef4998;hb=191a537eadd3e5f32339e5196e2112d3147aefc2;hp=9d6bc69ae9ec3451b8fca5cbf0555d1ff0aa5054;hpb=b7466bec795ac4e9fc386e0fb0ea40f37eda3881;p=live-boot-grml.git diff --git a/debian/live-boot.init b/debian/live-boot.init index 9d6bc69..1a85267 100644 --- a/debian/live-boot.init +++ b/debian/live-boot.init @@ -114,6 +114,12 @@ do_stop () return 0 fi + # check for toram + if grep -qs toram /proc/cmdline + then + return 0 + fi + # Don't prompt to eject the SD card on Babbage board, where we reuse it # as a quasi-boot-floppy. Technically this uses a bit of ubiquity # (archdetect), but since this is mostly only relevant for