projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merging casper 1.100.
[live-boot-grml.git]
/
scripts
/
live-bottom
/
41apt_cdrom
diff --git
a/scripts/live-bottom/41apt_cdrom
b/scripts/live-bottom/41apt_cdrom
index
bbfa845
..
63da284
100755
(executable)
--- a/
scripts/live-bottom/41apt_cdrom
+++ b/
scripts/live-bottom/41apt_cdrom
@@
-20,15
+20,17
@@
esac
# live-initramfs header
# live-initramfs header
+if [ -n "${NOAPTCDROM}" ]
+then
+ exit 0
+fi
+
. /scripts/live-functions
log_begin_msg "Adding APT-CDROM source..."
# live-initramfs script
. /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
chroot /root apt-cdrom -m add
-umount /root/cdrom
log_end_msg
log_end_msg