config is in kexec-tools 1:2.0.10-1ubuntu2.
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 -e
CONFFILE=/etc/default/kexec
# Source debconf library.
. /usr/share/debconf/confmodule
CONFIG_MODE=""
if test -e "$CONFFILE"; then
. "$CONFFILE"
# Guard against admin writing silly things into the
# config file...
if test "$LOAD_KEXEC" != "1" -a "$LOAD_KEXEC" != "true" ; then
db_set kexec-tools/load_kexec "false"
else
db_set kexec-tools/load_kexec "true"
fi
if test "$USE_GRUB_CONFIG" != "true" ; then
db_set kexec-tools/use_grub_config "false"
else
db_set kexec-tools/use_grub_config "true"
fi
fi
# Setup and select the configuration mode
db_input high kexec-tools/load_kexec || true
db_input medium kexec-tools/use_grub_config || true
db_go
|