This file is indexed.

config is in cfengine2 2.2.10-7.

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

set -e

# Source debconf library
. /usr/share/debconf/confmodule
db_version 2.0

DEFAULT=/etc/default/cfengine2

zeroone_to_falsetrue () {
    # Converts 1 to 'true' and 0 to 'false'
    case "$1" in
	0) echo "false";;
	1) echo "true";;
	*) return 1
    esac
}

if [ -e $DEFAULT ]; then
    . $DEFAULT || true

    db_set cfengine2/run_cfservd $(zeroone_to_falsetrue $RUN_CFSERVD)
    db_set cfengine2/run_cfexecd $(zeroone_to_falsetrue $RUN_CFEXECD)
    db_set cfengine2/run_cfenvd $(zeroone_to_falsetrue $RUN_CFENVD)
fi

db_input medium cfengine2/run_cfservd || true
db_input medium cfengine2/run_cfexecd || true
db_input medium cfengine2/run_cfenvd || true

db_go || true
db_stop || true