From a30d1171f1aab7bd69616fcd2477840753bd87c6 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Tue, 22 Jun 2021 10:12:17 +0200 Subject: [PATCH] Added resolvconf-pull-resolved --- sv/resolvconf-pull-resolved/run | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 sv/resolvconf-pull-resolved/run diff --git a/sv/resolvconf-pull-resolved/run b/sv/resolvconf-pull-resolved/run new file mode 100644 index 0000000..be3bc98 --- /dev/null +++ b/sv/resolvconf-pull-resolved/run @@ -0,0 +1,6 @@ +#!/bin/sh -e +test -e /run/resolvconf/enable-updates +test -x /sbin/resolvconf +/bin/sh -c 'cat /run/systemd/resolve/stub-resolv.conf | grep -v edns0 | /sbin/resolvconf -a systemd-resolved' +resolvectl query gnu.org > /dev/null +exec pause