File: cdrom

package info (click to toggle)
kickseed 0.64
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 304 kB
  • sloc: sh: 1,709; makefile: 2
file content (19 lines) | stat: -rwxr-xr-x 490 bytes parent folder | download
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
	/usr/lib/kickseed/kickseed-anna cdrom-detect
fi

if [ -x /var/lib/dpkg/info/cdrom-detect.postinst ]; then
	/usr/lib/kickseed/kickseed-udpkg cdrom-detect
else
	logger -t kickseed "cdrom-detect cannot be installed"
	exit 1
fi

exit 0