mirror of
https://github.com/troglobit/finit.git
synced 2026-11-13 17:00:16 +00:00
modules-load.c: allow MODULES_LOAD_PATH to be overridden
Define MODULES_LOAD_PATH only when it's unset, this allows it to be overridden, for instance, by passing CFLAGS. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
This commit is contained in:
1 parent
a7adff4c4b
commit
1fa6a98e79
1 file changed
+2
@@ -32,7 +32,9 @@
|
||||
#include "service.h"
|
||||
#include "conf.h"
|
||||
|
||||
#ifndef MODULES_LOAD_PATH
|
||||
#define MODULES_LOAD_PATH "/etc/modules-load.d"
|
||||
#endif
|
||||
#define SERVICE_LINE \
|
||||
":%d name:modprobe.%s [2345] /sbin/modprobe %s %s -- Kernel module: %s"
|
||||
|
||||
|
||||
Reference in new issue
Block a user