Silence a number of annoying and distracting bootup messages.
[live-boot-grml.git] / scripts / live-bottom / 41apt_cdrom
index 9998e97..00606d5 100755 (executable)
@@ -31,6 +31,9 @@ log_begin_msg "Adding APT-CDROM source"
 
 # live-initramfs script
 
-chroot /root apt-cdrom -m add
+if [ -d /root/cdrom ]
+then
+       chroot /root apt-cdrom -m add
+fi
 
 log_end_msg