chiark / gitweb /
resolved: add daemon to manage resolv.conf
[elogind.git] / src / network / networkd.c
index f0e6ad5201a5476f35ceb1e20cbc9b030313cb1c..6985dcaa4a64f07cd25a7aa79376404385c5aec2 100644 (file)
@@ -87,20 +87,12 @@ int main(int argc, char *argv[]) {
                 goto out;
         }
 
-        r = manager_udev_enumerate_links(m);
+        r = manager_rtnl_enumerate_links(m);
         if (r < 0) {
                 log_error("Could not enumerate links: %s", strerror(-r));
                 goto out;
         }
 
-        /* write out empty resolv.conf to avoid a
-         * dangling symlink */
-        r = manager_update_resolv_conf(m);
-        if (r < 0) {
-                log_error("Could not create resolv.conf: %s", strerror(-r));
-                goto out;
-        }
-
         sd_notify(false,
                   "READY=1\n"
                   "STATUS=Processing requests...");