This file is indexed.

config is in chkrootkit 0.50-3.2.

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

set -e

CF=/etc/chkrootkit.conf

. /usr/share/debconf/confmodule
db_version 2.0

db_capb backup

db_title "chkrootkit"

if [ -f $CF ]; then
    . $CF || true
    case "$RUN_DAILY" in
        true|false);;
        *) RUN_DAILY="false";;
    esac
    case "$DIFF_MODE" in
        true|false);;
        *) DIFF_MODE="false";;
    esac
    db_set chkrootkit/run_daily "$RUN_DAILY"
    db_set chkrootkit/run_daily_opts "$RUN_DAILY_OPTS"
    db_set chkrootkit/diff_mode "$DIFF_MODE"
fi

STATE=1
while [ "$STATE" -gt 0 -a "$STATE" -lt 4 ]; do
    case "$STATE" in
    1) db_input medium chkrootkit/run_daily || true;;
    2) 
        db_get chkrootkit/run_daily
        if [ "$RET" = "true" ]; then
            db_input medium chkrootkit/run_daily_opts || true
        fi
    ;;
    3)
        db_get chkrootkit/run_daily
        if [ "$RET" = "true" ]; then
            db_input medium chkrootkit/diff_mode || true
        fi

    ;;
    esac

    if db_go; then
        STATE=$(($STATE + 1))
    else
        STATE=$(($STATE - 1))
    fi
done