summaryrefslogtreecommitdiffstats
path: root/debian/wide-dhcpv6-server.config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/wide-dhcpv6-server.config18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/wide-dhcpv6-server.config b/debian/wide-dhcpv6-server.config
new file mode 100644
index 0000000..9eb169c
--- /dev/null
+++ b/debian/wide-dhcpv6-server.config
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+INITCONFFILE=/etc/default/wide-dhcpv6-server
+
+[ -r "${INITCONFFILE}" ] && {
+ . ${INITCONFFILE}
+ db_set wide-dhcpv6-server/interfaces "${INTERFACES}"
+}
+
+db_input high wide-dhcpv6-server/config_warn || true
+db_input high wide-dhcpv6-server/interfaces || true
+db_go || true
+
+exit 0