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