chiark / gitweb /
systemctl: short cut things if we aren't root and the user requested a reboot to...
[elogind.git] / src / kmod-setup.c
index fa856c9a6ccc6ceb4447958a85bb2444a2ebe24a..3ce6fcc77b4734b6b4b9a23fb7b68aad6a8af6bc 100644 (file)
@@ -31,7 +31,8 @@
 
 static const char * const kmod_table[] = {
         "autofs4", "/sys/class/misc/autofs",
-        "ipv6",    "/sys/module/ipv6"
+        "ipv6",    "/sys/module/ipv6",
+        "unix",    "/proc/net/unix"
 };
 
 int kmod_setup(void) {
@@ -69,7 +70,7 @@ int kmod_setup(void) {
         command.argv = (char**) cmdline;
 
         exec_context_init(&context);
-        r = exec_spawn(&command, NULL, &context, NULL, 0, NULL, false, false, false, NULL, &pid);
+        r = exec_spawn(&command, NULL, &context, NULL, 0, NULL, false, false, false, false, NULL, &pid);
         exec_context_done(&context);
 
         if (r < 0)