summaryrefslogtreecommitdiff
path: root/src/modules-load.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-09-28 11:51:24 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-09-28 11:51:24 +0200
commitfd5bf055acae23a5ff0fcce8425675703f7bf5e0 (patch)
treea9bb6542444703af2bc9eddfa805f5d7be9b38fb /src/modules-load.c
parent915d22e4f09e8f6d7fb2e7a7456f8b5908bd7f98 (diff)
downloadsystemd-fd5bf055acae23a5ff0fcce8425675703f7bf5e0.tar.gz
use .conf for new config files: locale, vconsole, modules.d
Diffstat (limited to 'src/modules-load.c')
-rw-r--r--src/modules-load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules-load.c b/src/modules-load.c
index bfe5b8a995..56f2a907f4 100644
--- a/src/modules-load.c
+++ b/src/modules-load.c
@@ -31,7 +31,7 @@
#include "util.h"
#include "strv.h"
-/* This reads all module names listed in /etc/modules.d/?*.modules and
+/* This reads all module names listed in /etc/modules.d/?*.conf and
* loads them into the kernel. This follows roughly Debian's way to
* handle modules, but uses a directory of fragments instead of a
* single /etc/modules file. */
@@ -46,7 +46,7 @@ static int scandir_filter(const struct dirent *d) {
d->d_type != DT_LNK)
return 0;
- return endswith(d->d_name, ".modules");
+ return endswith(d->d_name, ".conf");
}
int main(int argc, char *argv[]) {