diff options
Diffstat (limited to 'src/network/networkd.c')
-rw-r--r-- | src/network/networkd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/network/networkd.c b/src/network/networkd.c index 360afba986..055200cb00 100644 --- a/src/network/networkd.c +++ b/src/network/networkd.c @@ -60,6 +60,13 @@ int main(int argc, char *argv[]) { if (r < 0) goto out; + + /* write out empty resolv.conf to avoid a + * dangling symlink */ + r = manager_update_resolv_conf(m); + if (r < 0) + goto out; + sd_notify(false, "READY=1\n" "STATUS=Processing requests..."); |