File: cdrom

package info (click to toggle)
kickseed 0.55
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 300 kB
  • ctags: 75
  • sloc: sh: 1,699; makefile: 2
file content (19 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download | duplicates (6)
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