This file is indexed.

config is in distcc 3.1-6.

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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/sh 
# distcc package configuration script

set -e

conffile="/etc/default/distcc"

get_config_file()
{
	config_field=$1
	db_field=$2
	
	if [ -f "$conffile" ] ; then
   		VALUE="$(grep "^[ ]*$config_field" $conffile | sed -e "s/^$config_field *= *\"\(.*\)\"/\1/g")" 
		if [ -n "$VALUE" ] ; then
			db_set $db_field "$VALUE"
		fi
	fi		
}

# Source debconf library -- we have a Depends line
# to make sure it is there...
. /usr/share/debconf/confmodule
db_version 2.0

case "$1" in
    configure|reconfigure)
        get_config_file STARTDISTCC distcc/daemon
        db_input medium distcc/daemon || true
        db_go

	db_get distcc/daemon
	if [ "$RET" = "true" ]; then
		get_config_file ALLOWEDNETS distcc/daemon-allow
		db_input medium distcc/daemon-allow || true
		db_go

		get_config_file LISTENER distcc/daemon-listen
		db_input medium distcc/daemon-listen || true
		db_go

		get_config_file NICE distcc/daemon-nice
		db_input medium distcc/daemon-nice || true
		db_go

		get_config_file JOBS distcc/daemon-jobs
		db_input medium distcc/daemon-jobs || true
		db_go

		get_config_file ZEROCONF distcc/daemon-zeroconf
		db_input medium distcc/daemon-zeroconf || true
		db_go
	fi
        ;;
    *)
        ;;
esac



exit 0