#!/bin/sh -e
#
#

# Source debconf library.
. /usr/share/debconf/confmodule

# Read in the current defaults (if available)
INITCONFFILE=/etc/default/isc-dhcp-server

# Read current configuration - the user might not use dpkg-reconfigure
# to change /etc/default/isc-dhcp-server, so we need to do this to
# preserve the configuration.
if [ -r ${INITCONFFILE} ]; then
	. ${INITCONFFILE}
	db_set isc-dhcp-server/interfaces "${INTERFACES}"
fi

db_title "DHCP Server"

db_input low isc-dhcp-server/interfaces || true
db_go

db_input high isc-dhcp-server/new_auth_behavior || true
db_go
