From 11f6195097148e7b5738ffe29dc16061b2cfd770 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 8 Aug 2008 05:25:06 +0100 Subject: Silence a number of annoying and distracting bootup messages. --- scripts/live-bottom/41apt_cdrom | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts/live-bottom/41apt_cdrom') diff --git a/scripts/live-bottom/41apt_cdrom b/scripts/live-bottom/41apt_cdrom index 9998e97..00606d5 100755 --- a/scripts/live-bottom/41apt_cdrom +++ b/scripts/live-bottom/41apt_cdrom @@ -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 -- cgit v1.2.3