diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-06-04 09:42:35 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:53:26 +0100 |
| commit | c326666367a29554f040607b0635faee1f3e8bc9 (patch) | |
| tree | 8cf9096ba6fe33f44a2160a351f57f8d94bda5fa | |
| parent | 8b3bea69df843fa1642ef836f2cfa80e80da0f7c (diff) | |
| download | live-boot-c326666367a29554f040607b0635faee1f3e8bc9.tar.gz live-boot-c326666367a29554f040607b0635faee1f3e8bc9.zip | |
Removing apt_cdrom bottom script, not used anyway.
| -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 |
