summaryrefslogtreecommitdiff
path: root/net-misc/ndisc6/files/resolvconf-2
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ndisc6/files/resolvconf-2')
-rw-r--r--net-misc/ndisc6/files/resolvconf-27
1 files changed, 7 insertions, 0 deletions
diff --git a/net-misc/ndisc6/files/resolvconf-2 b/net-misc/ndisc6/files/resolvconf-2
new file mode 100644
index 000000000000..79d69c60e7ad
--- /dev/null
+++ b/net-misc/ndisc6/files/resolvconf-2
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if command -v resolvconf >/dev/null; then
+ exec resolvconf -a rdnssd </var/run/rdnssd/resolv.conf
+else
+ exec "$(dirname "$0")"/merge-hook
+fi