This file is indexed.

config is in nagios3-cgi 3.5.1-1ubuntu1.

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

. /usr/share/debconf/confmodule

db_fget nagios3/adminpassword seen || true
password_seen="$RET"

if [ "$1" = "reconfigure" ]; then
        password_seen=false
fi

if [ "$rootpassword_seen" != "true" ]; then
    while [ ! "$passwordsmatch" ]; do
        db_input high nagios3/adminpassword || true
        db_input high nagios3/adminpassword-repeat || true
        db_go || true
        db_get nagios3/adminpassword
        p1="$RET"
        db_get nagios3/adminpassword-repeat
        p2="$RET"
        if [ "$p1" = "$p2" ]; then
            passwordsmatch="yes"
        else
            db_fset nagios3/adminpassword seen false
            db_fset nagios3/adminpassword-repeat seen false
            db_fset nagios3/adminpassword-mismatch seen false
            db_input critical nagios3/adminpassword-mismatch || true
        fi
    done
fi
db_go || true