From ac43701e5097f87fe0df7bf95215645f75742018 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Fri, 13 Mar 2009 11:02:46 -0400 Subject: Rename /etc/modprobe.d/anaconda to /etc/modprobe.d/anaconda.conf The kernel tells me that all module config files have to end with .conf in the future or they'll be ignored. We had better rename it, then. --- loader/modules.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'loader') diff --git a/loader/modules.c b/loader/modules.c index 705a3ebeb..bddda2b29 100644 --- a/loader/modules.c +++ b/loader/modules.c @@ -101,7 +101,7 @@ void mlAddBlacklist(char *module) { blacklists = realloc(blacklists, sizeof(*blacklists) * (numblacklists + 1)); blacklists[numblacklists] = strdup(module); numblacklists++; - writeModulesConf("/etc/modprobe.d/anaconda"); + writeModulesConf("/etc/modprobe.d/anaconda.conf"); } static void addOption(const char *module, const char *option) { @@ -225,7 +225,7 @@ static int doLoadModule(const char *module, char ** args) { for (i = 0; args[i] ; i++) { addOption(module, args[i]); } - writeModulesConf("/etc/modprobe.d/anaconda"); + writeModulesConf("/etc/modprobe.d/anaconda.conf"); } rc = execv("/sbin/modprobe", argv); _exit(rc); @@ -252,7 +252,7 @@ void mlRemoveBlacklist(char *module) { void mlInitModuleConfig() { readModuleOpts(); readBlacklist(); - writeModulesConf("/etc/modprobe.d/anaconda"); + writeModulesConf("/etc/modprobe.d/anaconda.conf"); } /* load a module with a given list of arguments */ -- cgit