This file is indexed.

config is in dnet-common 2.58ubuntu1.

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
64
65
66
67
68
69
70
71
72
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

db_version 2.0
db_capb backup

db_title DECnet node configuration

db_get dnet-common/nodename
if [ "$RET" = '' ]
then
 db_fset dnet-common/configure-action seen false
fi

# '|| true' so skiped messages do not be a problem
db_input high dnet-common/configure-action || true
db_go
db_get dnet-common/configure-action

if [ "$RET" != 'configure now' ]
then
 echo "dnet-common: Skipping configure of DECnet"
 db_stop
 exit 0
fi


NAMEOK="false"
while [ -n "$NAMEOK" ]
do
  db_input high dnet-common/nodename || true
  db_go
  db_get dnet-common/nodename
  NAME=$RET
  if [ -z "`echo -n $NAME | sed -n 's/......//p'`" ] 
  then
    NAMEOK=""
  else
    db_fset dnet-common/nodename seen false
  fi
done


ADDROK="false"
while [ -n "$ADDROK" ]
do
  db_input high dnet-common/nodeaddr || true
  db_go
  db_get dnet-common/nodeaddr
  ADDR=`echo $RET | sed -n 's/\([0-9]*\.[0-9]*\)/\1/p'`
  AREA=`echo $ADDR | sed -n 's/\([0-9]*\)\.\([0-9]*\)/\1/p'`
  NODE=`echo $ADDR | sed -n 's/\([0-9]*\)\.\([0-9]*\)/\2/p'`

  [ -z "$AREA" ] && AREA=0
  [ -z "$NODE" ] && NODE=0

  if [ "$NODE" -le 1023 -a  "$NODE" -ge 1 -a "$AREA" -le 63 -a "$AREA" -ge 1 ]
  then
    ADDROK=""
  else
    db_fset dnet-common/nodeaddr seen false
  fi
done

# Display the dire warning about MAC addresses.
db_input critical dnet-common/warning || true
db_go

db_stop