#!/bin/sh set -e # Source debconf library. . /usr/share/debconf/confmodule # Read in the current defaults (if available) INITCONFFILE=/etc/default/isc-dhcp-relay # Read current configuration - the user might not use dpkg-reconfigure # to change /etc/default/isc-dhcp-relay, so we need to do this to # preserve the configuration. if [ -r ${INITCONFFILE} ]; then . ${INITCONFFILE} db_set isc-dhcp-relay/servers "${SERVERS}" db_set isc-dhcp-relay/interfaces "${INTERFACES}" fi db_title "DHCP Relay" db_input high isc-dhcp-relay/servers || true db_go db_input high isc-dhcp-relay/interfaces || true db_go db_input high isc-dhcp-relay/options || true db_go