Removing apt_cdrom bottom script, not used anyway.
authorDaniel Baumann <daniel@debian.org>
Fri, 4 Jun 2010 07:42:35 +0000 (09:42 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:53:26 +0000 (17:53 +0100)
scripts/live-bottom/41apt_cdrom [deleted file]

diff --git a/scripts/live-bottom/41apt_cdrom b/scripts/live-bottom/41apt_cdrom
deleted file mode 100755 (executable)
index 1a36e7f..0000000
+++ /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