From 9fc9e2a1a11b0edada38cb501fefe4f58aa414ac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 14:46:36 +0200 Subject: Adding live-initramfs 1.87.2-1. --- scripts/live-bottom/41apt_cdrom | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 scripts/live-bottom/41apt_cdrom (limited to 'scripts/live-bottom/41apt_cdrom') diff --git a/scripts/live-bottom/41apt_cdrom b/scripts/live-bottom/41apt_cdrom new file mode 100755 index 0000000..97b2cdc --- /dev/null +++ b/scripts/live-bottom/41apt_cdrom @@ -0,0 +1,24 @@ +#! /bin/sh + +PREREQ="" +DESCRIPTION="Adding APT-CDROM source..." + +. /scripts/live-functions + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +mkdir -p /root/cdrom +mount -n -o bind /cdrom /root/cdrom +chroot /root apt-cdrom -m add +umount /root/cdrom -- cgit v1.2.3