sd-dhcp-client/networkd: add transient hostname support

This commit is contained in:
Tom Gundersen
2014-01-16 20:32:08 +01:00
parent 6fc7349894
commit 1346b1f038
10 changed files with 132 additions and 0 deletions
+6
View File
@@ -70,6 +70,12 @@ int main(int argc, char *argv[]) {
goto out;
}
r = manager_bus_listen(m);
if (r < 0) {
log_error("Could not connect to system bus: %s", strerror(-r));
goto out;
}
/* write out empty resolv.conf to avoid a
* dangling symlink */
r = manager_update_resolv_conf(m);