1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#! /bin/sh -e
# Bring up everything that's needed to fetch a Kickstart file from the
# CD-ROM.
# without this, debconf clients will talk debconf protocol to syslog
. /usr/share/debconf/confmodule
if [ ! -x /var/lib/dpkg/info/cdrom-detect.postinst ]; then
/lib/kickseed/kickseed-anna cdrom-detect
fi
if [ -x /var/lib/dpkg/info/cdrom-detect.postinst ]; then
/lib/kickseed/kickseed-udpkg cdrom-detect
else
logger -t kickseed "cdrom-detect cannot be installed"
exit 1
fi
exit 0
|