diff options
| -rwxr-xr-x | scripts/live-bottom/41apt_cdrom | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/scripts/live-bottom/41apt_cdrom b/scripts/live-bottom/41apt_cdrom deleted file mode 100755 index 1a36e7f..0000000 --- a/scripts/live-bottom/41apt_cdrom +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-boot header - -if [ -n "${NOAPTCDROM}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Adding APT-CDROM source" - -# live-boot script - -if [ -d /root/cdrom ] -then - mount -n -o bind /sys /root/sys - mount -n -o bind /proc /root/proc - mount -n -o bind /dev /root/dev - - chroot /root apt-cdrom -o Acquire::cdrom::AutoDetect=false -m add - - umount /root/dev - umount /root/proc - umount /root/sys -fi - -log_end_msg |
