summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-22 00:29:53 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-22 00:29:53 +0200
commit11c3a4eeb7e65eccd6fc0870bb1cda315fa33ba5 (patch)
tree139deea916d530f19dda6a2c0f6e1ac28f626314 /src/main.c
parente962f5c34f8e292090fa8c7cb265106a621c8735 (diff)
kmod: automatically load a few kernel modules we need for normal operation before udev is active
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 2e754fe6e0..95d2115230 100644
--- a/src/main.c
+++ b/src/main.c
@@ -37,6 +37,7 @@
#include "mount-setup.h"
#include "hostname-setup.h"
#include "loopback-setup.h"
+#include "kmod-setup.h"
#include "load-fragment.h"
#include "fdset.h"
@@ -639,6 +640,7 @@ 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) {
+ kmod_setup();
hostname_setup();
loopback_setup();
}