This file is indexed.

config is in openafs-client 1.8.0~pre5-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
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
62
63
#!/bin/sh

set -e

. /usr/share/debconf/confmodule
db_version 2.0

# Configure the client cell.  Default to the current ThisCell file and,
# failing that, the lowercased local domain name, if available.  Ignore errors
# on read, since it may fail if there's no newline in the file.
if [ -r /etc/openafs/ThisCell ] ; then
    read cell < /etc/openafs/ThisCell || true
    db_set openafs-client/thiscell "$cell"
fi
db_get openafs-client/thiscell || true
if [ "x$RET" = "x" ] ; then
    domain=`dnsdomainname 2>/dev/null || true`
    if [ -n "$domain" ] ; then
        db_set openafs-client/thiscell `echo "$domain" | tr 'A-Z' 'a-z'`
    fi
fi
db_input high openafs-client/thiscell || true

# Configure the cache size.  Default to the current value in the cacheinfo
# configuration file.
if [ -r /etc/openafs/cacheinfo ] ; then
    IFS=: read mountpoint cachedir cachesize < /etc/openafs/cacheinfo
    db_set openafs-client/cachesize "$cachesize"
fi
db_input high openafs-client/cachesize || true
db_go

# Configure the AFS client parameters set in /etc/openafs/afs.conf, taking
# defaults from the current file.
test -f /etc/openafs/afs.conf && . /etc/openafs/afs.conf
if [ "x$AFS_CLIENT" != "x" ] ; then
    db_set openafs-client/run-client "$AFS_CLIENT"
fi
db_input low openafs-client/run-client || true
if [ "x$AFS_AFSDB" != "x" ] ; then
    db_set openafs-client/afsdb "$AFS_AFSDB"
fi
if [ "x$AFS_CRYPT" != "x" ] ; then
    db_set openafs-client/crypt "$AFS_CRYPT"
fi
if [ "x$AFS_DYNROOT" != "x" ] ; then
    if [ "x$AFS_DYNROOT" = 'xtrue' ] ; then
        AFS_DYNROOT=Yes
    elif [ "x$AFS_DYNROOT" = 'xfalse' ] ; then
        AFS_DYNROOT=No
    fi
    db_set openafs-client/dynroot "$AFS_DYNROOT"
fi
if [ "x$AFS_FAKESTAT" != "x" ] ; then
    db_set openafs-client/fakestat "$AFS_FAKESTAT"
fi
db_beginblock
db_input low openafs-client/afsdb || true
db_input low openafs-client/crypt || true
db_input medium openafs-client/dynroot || true
db_input low openafs-client/fakestat || true
db_endblock
db_go