diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-04-21 18:32:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-04-22 19:38:04 +0200 |
commit | 082814743f6d118e73dc4d38adc4c19f3b2a57ec (patch) | |
tree | e26c9fab5112349a81b77b4cd3048619255232f3 /src/resolve/resolved-resolv-conf.c | |
parent | eecf4f7e0425db72ea7a0c13a937fa6fcdbe3b1e (diff) | |
download | systemd-082814743f6d118e73dc4d38adc4c19f3b2a57ec.tar.gz |
resolve: move resolv.conf path definitions to shared header
That way we can use it from nspawn.
Diffstat (limited to 'src/resolve/resolved-resolv-conf.c')
-rw-r--r-- | src/resolve/resolved-resolv-conf.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/resolve/resolved-resolv-conf.c b/src/resolve/resolved-resolv-conf.c index 6afc193f69..c06213f486 100644 --- a/src/resolve/resolved-resolv-conf.c +++ b/src/resolve/resolved-resolv-conf.c @@ -18,15 +18,6 @@ #include "strv.h" #include "tmpfile-util-label.h" -/* A resolv.conf file containing the DNS server and domain data we learnt from uplink, i.e. the full uplink data */ -#define PRIVATE_UPLINK_RESOLV_CONF "/run/systemd/resolve/resolv.conf" - -/* A resolv.conf file containing the domain data we learnt from uplink, but our own DNS server address. */ -#define PRIVATE_STUB_RESOLV_CONF "/run/systemd/resolve/stub-resolv.conf" - -/* A static resolv.conf file containing no domains, but only our own DNS server address */ -#define PRIVATE_STATIC_RESOLV_CONF ROOTLIBEXECDIR "/resolv.conf" - int manager_check_resolv_conf(const Manager *m) { struct stat st, own; |