This file is indexed.

postinst is in pxe 1.4.2-7ubuntu1.

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
#!/bin/sh

set -e

if ! id -u Debian-pxe 2>/dev/null >/dev/null
then
	adduser --system --no-create-home --disabled-login --force-badname \
		--gecos "Dummy user for Debian pxe package" Debian-pxe
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/pxe" ]; then
	if [ ! -e "/etc/init/pxe.conf" ]; then
		update-rc.d pxe defaults >/dev/null
	fi
	invoke-rc.d pxe start || exit $?
fi
# End automatically added section