aboutsummaryrefslogtreecommitdiffstats
path: root/community/ndisc6/rdnssd.resolvconf
diff options
context:
space:
mode:
Diffstat (limited to 'community/ndisc6/rdnssd.resolvconf')
-rw-r--r--community/ndisc6/rdnssd.resolvconf7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/ndisc6/rdnssd.resolvconf b/community/ndisc6/rdnssd.resolvconf
new file mode 100644
index 00000000000..1553f8545ea
--- /dev/null
+++ b/community/ndisc6/rdnssd.resolvconf
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if command -v resolvconf > /dev/null; then
+ exec resolvconf -a rdnssd < /var/run/rdnssd/resolv.conf
+else
+ exec /etc/rdnssd/merge-hook
+fi