mirror of
https://github.com/AuxXxilium/kmod.git
synced 2025-01-15 00:15:14 +07:00
config: use order /etc, /run, /lib
This matches the change in systemd and udev. Log message on udev's change by Kay Sievers: After long consideration we came to the conclusion that user configuration in /etc should always override the (generally computer generated) configuration in /run. User configuration should always be what matters over anything else. Hence rearrange the search orders accordingly. In general this should change very little as overriding like this is seldomn done so far, and the order between /etc and /usr stays the same.
This commit is contained in:
parent
ae7ebe8770
commit
436da1e96e
@ -59,8 +59,8 @@ static struct _index_files {
|
||||
};
|
||||
|
||||
static const char *default_config_paths[] = {
|
||||
"/run/modprobe.d",
|
||||
SYSCONFDIR "/modprobe.d",
|
||||
"/run/modprobe.d",
|
||||
ROOTPREFIX "/lib/modprobe.d",
|
||||
NULL
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user