summaryrefslogtreecommitdiff
path: root/net-misc/ndisc6/files/resolvconf-2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-11 14:17:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-11 14:17:10 +0100
commit5adfd733728a4f14df5665f4c2a604a7356e5f19 (patch)
treef2938c4a08576b45508b02481edfec55eac3ac8b /net-misc/ndisc6/files/resolvconf-2
parentfbba40085f5d1591a67b49f5aa48b4071b7560f1 (diff)
gentoo auto-resync : 11:06:2023 - 14:17:09
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