#!/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 "$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 medium kexec-tools/use_grub_config || true db_go