diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c index 4da8ecb864..2fcd63d3e2 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -55,7 +55,9 @@ #include "mount-setup.h" #include "loopback-setup.h" +#ifdef HAVE_KMOD #include "kmod-setup.h" +#endif #include "hostname-setup.h" #include "machine-id-setup.h" #include "locale-setup.h" @@ -1574,7 +1576,9 @@ int main(int argc, char *argv[]) { if (arg_show_status || plymouth_running()) status_welcome(); +#ifdef HAVE_KMOD kmod_setup(); +#endif hostname_setup(); machine_id_setup(); loopback_setup(); |