This file is indexed.

config is in yubikey-val 2.33-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
#!/bin/sh

set -e

# source debconf stuff
. /usr/share/debconf/confmodule

if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
    # we support mysql and pgsql
    dbc_dbtypes="mysql, pgsql"
    dbc_dbname="ykval"
    dbc_dbuser="ykval_verifier"

    # source dbconfig-common stuff
    . /usr/share/dbconfig-common/dpkg/config
    dbc_go yubikey-val $@
fi

if [ "$1" = "reconfigure" ] && [ `ykval-export-clients 2>/dev/null|grep -c ','` -eq 0 ]; then
    #No clients, create one
    if `ykval-gen-clients --urandom >/dev/null 2>&1`; then
        db_input high yubikey-val/initial-client || true
        db_go
    fi
fi



exit 0