From fd5bf055acae23a5ff0fcce8425675703f7bf5e0 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 28 Sep 2010 11:51:24 +0200 Subject: use .conf for new config files: locale, vconsole, modules.d --- src/modules-load.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules-load.c') 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[]) { -- cgit v1.2.3-54-g00ecf