From 35882cfa5f40cc40acd5ae65ced3e90fbf3cb74c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 04:56:36 +0200 Subject: Adding debian version 1:2.0.27-1. Signed-off-by: Daniel Baumann --- debian/kexec-tools.config | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 debian/kexec-tools.config (limited to 'debian/kexec-tools.config') diff --git a/debian/kexec-tools.config b/debian/kexec-tools.config new file mode 100644 index 0000000..4ccee75 --- /dev/null +++ b/debian/kexec-tools.config @@ -0,0 +1,23 @@ +#!/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 -- cgit v1.2.3