chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reboot: don't wait for input tty
[elogind.git]
/
src
/
kmod-setup.c
diff --git
a/src/kmod-setup.c
b/src/kmod-setup.c
index fa856c9a6ccc6ceb4447958a85bb2444a2ebe24a..ecbbbb9b4204457d3e9609a998b5e35c03a8153c 100644
(file)
--- a/
src/kmod-setup.c
+++ b/
src/kmod-setup.c
@@
-31,7
+31,8
@@
static const char * const kmod_table[] = {
"autofs4", "/sys/class/misc/autofs",
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) {
};
int kmod_setup(void) {
@@
-69,7
+70,7
@@
int kmod_setup(void) {
command.argv = (char**) cmdline;
exec_context_init(&context);
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)
exec_context_done(&context);
if (r < 0)
@@
-98,7
+99,7
@@
int kmod_setup(void) {
}
if (WIFSIGNALED(status)) {
}
if (WIFSIGNALED(status)) {
- log_warning("/sbin/modprobe terminated by signal %s.", s
trsignal
(WTERMSIG(status)));
+ log_warning("/sbin/modprobe terminated by signal %s.", s
ignal_to_string
(WTERMSIG(status)));
return -EPROTO;
}
return -EPROTO;
}