summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ndisc6/files/resolvconf-1')
-rw-r--r--net-misc/ndisc6/files/resolvconf-17
1 files changed, 7 insertions, 0 deletions
diff --git a/net-misc/ndisc6/files/resolvconf-1 b/net-misc/ndisc6/files/resolvconf-1
new file mode 100644
index 000000000000..c08aa6a3df19
--- /dev/null
+++ b/net-misc/ndisc6/files/resolvconf-1
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ -x /sbin/resolvconf ]; then
+ exec /sbin/resolvconf -a rdnssd </var/lib/run/rdnssd/resolv.conf
+else
+ exec "`dirname "$0"`"/merge-hook
+fi