diff options
author | Tom Gundersen <teg@jklm.no> | 2014-01-16 20:20:08 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-01-16 20:32:09 +0100 |
commit | 5d8364b3c5e06b8dbda75c07fdb707148dfd1656 (patch) | |
tree | 6b0f377a4868d7ad9b93a224c134a05e159d6950 /src | |
parent | 5ee482dfd395b2576605bd18cda7d19abdb0487a (diff) |
networkd: resolv.conf - extend the comment a bit
Diffstat (limited to 'src')
-rw-r--r-- | src/network/networkd-manager.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index 3b542149c0..27f806aab2 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -334,7 +334,11 @@ int manager_update_resolv_conf(Manager *m) { fchmod(fileno(f), 0644); - fputs("# This file is managed by systemd-networkd(8). Do not edit.\n", f); + fputs("# This file is managed by systemd-networkd(8). Do not edit.\n#\n", f); + fputs("# Third party programs must not access this file directly, but\n", f); + fputs("# only through the symlink at /etc/resolv.conf. To manage your\n", f); + fputs("# own static resolv.conf(5), replace the symlink by a static\n", f); + fputs("# file at /etc/resolv.conf.\n\n", f); HASHMAP_FOREACH(link, m->links, i) { if (link->dhcp) { |