diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-09 18:02:38 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-09 18:02:38 +0200 |
commit | af5bc85dc1297079edc9890861aaa38de0ec30df (patch) | |
tree | 5a96f14d59eed59090f16826d84f4f9f1e501633 /main.c | |
parent | f2b4af1cd4112df6ce56f8fc1e677639935e3d0e (diff) |
loopback: configure lo device on bootup
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -36,6 +36,7 @@ #include "log.h" #include "mount-setup.h" #include "hostname-setup.h" +#include "loopback-setup.h" #include "load-fragment.h" #include "fdset.h" @@ -641,8 +642,10 @@ int main(int argc, char *argv[]) { log_debug("systemd running in %s mode.", manager_running_as_to_string(running_as)); - if (running_as == MANAGER_INIT) + if (running_as == MANAGER_INIT) { hostname_setup(); + loopback_setup(); + } if ((r = manager_new(running_as, confirm_spawn, &m)) < 0) { log_error("Failed to allocate manager object: %s", strerror(-r)); |