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
#
#
# 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
|