summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/41apt_cdrom
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-bottom/41apt_cdrom')
-rwxr-xr-xscripts/live-bottom/41apt_cdrom5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/live-bottom/41apt_cdrom b/scripts/live-bottom/41apt_cdrom
index bbfa845..fdde34d 100755
--- a/scripts/live-bottom/41apt_cdrom
+++ b/scripts/live-bottom/41apt_cdrom
@@ -20,6 +20,11 @@ esac
# live-initramfs header
+if [ -n "${NOAPTCDROM}" ]
+then
+ exit 0
+fi
+
. /scripts/live-functions
log_begin_msg "Adding APT-CDROM source..."