X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F41apt_cdrom;h=63da28467ccf1c4807a1011e201ab34bbf643b0c;hb=refs%2Ftags%2Fupstream%2F1.118.1;hp=bbfa845606cea87c5cd04183cccc7e7c82bddbd4;hpb=cdb98bbbdc41b29c6b94dc5aed36393daec84cf8;p=live-boot-grml.git diff --git a/scripts/live-bottom/41apt_cdrom b/scripts/live-bottom/41apt_cdrom index bbfa845..63da284 100755 --- a/scripts/live-bottom/41apt_cdrom +++ b/scripts/live-bottom/41apt_cdrom @@ -20,15 +20,17 @@ esac # live-initramfs header +if [ -n "${NOAPTCDROM}" ] +then + exit 0 +fi + . /scripts/live-functions log_begin_msg "Adding APT-CDROM source..." # live-initramfs script -mkdir -p /root/cdrom -mount -n -o bind /cdrom /root/cdrom chroot /root apt-cdrom -m add -umount /root/cdrom log_end_msg