This file is indexed.

postinst is in tftpd 0.17-18ubuntu3.

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
#!/bin/sh -e
# $Id: tftpd.postinst,v 1.1 1999/10/26 04:43:01 herbert Exp $

case "$1" in
abort-upgrade | abort-deconfigure | abort-remove)
	update-inetd --enable tftp
	;;
configure)
	update-inetd --group BOOT --add "tftp		dgram	udp	wait	nobody	/usr/sbin/tcpd	/usr/sbin/in.tftpd /srv/tftp"
	;;
*)
	printf "$0: incorrect arguments: $*\n" >&2
	exit 1
	;;
esac