This file is indexed.

config is in netdiag 1.2-1.

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
set -e

. /usr/share/debconf/confmodule
db_capb backup

parse_default() {
    case `sed -n 's/^run_statnetd=//p' "$@"` in
    0)  db_set netdiag/run_statnetd false;;
    1)  db_set netdiag/run_statnetd true;;
    *)  return 1;;
    esac
}

if [ -f /etc/default/netdiag ]
then
	# Load previous value (may have been changed manually).
	parse_default /etc/default/netdiag || true
else
	# older version of the package do not have a start script for statnetd at all
	db_set netdiag/run_statnetd false
fi

db_input medium netdiag/run_statnetd || true
db_go