summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-03-13 11:02:46 -0400
committerChris Lumens <clumens@redhat.com>2009-03-16 12:00:58 -0400
commitac43701e5097f87fe0df7bf95215645f75742018 (patch)
tree0c676fafe423b4a1aaecb69d35146f412afae5cf /loader
parente4c0c374f4f2b7e0cee9811c21caa2522021a9e4 (diff)
downloadanaconda-ac43701e5097f87fe0df7bf95215645f75742018.tar.gz
anaconda-ac43701e5097f87fe0df7bf95215645f75742018.tar.xz
anaconda-ac43701e5097f87fe0df7bf95215645f75742018.zip
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.
Diffstat (limited to 'loader')
-rw-r--r--loader/modules.c6
1 files changed, 3 insertions, 3 deletions
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 */