This file is indexed.

config is in tftpd-hpa 5.2-7ubuntu3.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

CONFFILE="/etc/default/tftpd-hpa"

if [ -e "${CONFFILE}" ]
then
	. ${CONFFILE} || true

	# Move from IPv4-only to dual-stack
	if [ "${TFTP_ADDRESS}" = "0.0.0.0:69" ] && \
        dpkg --compare-versions $2 lt 5.2-7ubuntu3; then
		TFTP_ADDRESS="[::]:69"
	fi

	db_set tftpd-hpa/username "${TFTP_USERNAME}"
	db_set tftpd-hpa/directory "${TFTP_DIRECTORY}"
	db_set tftpd-hpa/address "${TFTP_ADDRESS}"
	db_set tftpd-hpa/options "${TFTP_OPTIONS}"
fi

db_input low tftpd-hpa/username || true
db_input low tftpd-hpa/directory || true
db_input low tftpd-hpa/address || true
db_input low tftpd-hpa/options || true
db_go

db_stop