This file is indexed.

config is in cacti 0.8.7i-2ubuntu1.

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

set -e

action=$1
version=$2

## Source debconf library
. /usr/share/debconf/confmodule
# source dbconfig-common stuff
if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then
	. /usr/share/dbconfig-common/dpkg/config.mysql 
	dbc_first_version="0.8.6g-3"
	dbc_load_include="php:/etc/cacti/debian.php"
	dbc_load_include_args="--dbname=database_default --dbpass=database_password --dbuser=database_username --dbserver=database_hostname"
	dbc_go cacti $@
fi

# which web-server should I use?
db_input high cacti/webserver || true

db_go || true

exit 0