This file is indexed.

postinst is in ulogd 1.24-3ubuntu3.

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
#!/bin/sh
# Copyright 2005 Achilleas Kotsis <achille@kotsis.net>
# Licensed under the GNU General Public License, version 2.  See the file
# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
#

set -e
test $DEBIAN_SCRIPT_DEBUG && set -v -x

# use debconf
. /usr/share/debconf/confmodule

db_stop

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


exit 0