config is in kdump-tools 1:1.5.9-5.
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 | #!/bin/sh -e
CONFFILE=/etc/default/kdump-tools
# Source debconf library.
. /usr/share/debconf/confmodule
CONFIG_MODE="$1"
# Only pickup existing value if we are reconfiguring
# otherwise keep the value provided by dh_input
if test -e "$CONFFILE" -a "$CONFIG_MODE" != "configure"; then
. "$CONFFILE"
# Guard against admin writing silly things into the
# config file...
if test "$USE_KDUMP" != "1" -a "$USE_KDUMP" != "true" ; then
db_set kdump-tools/use_kdump "false"
else
db_set kdump-tools/use_kdump "true"
fi
fi
# Setup and select the configuration mode
db_input high kdump-tools/use_kdump || true
db_go
|