summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-02-01 21:24:34 +0000
committerBill Nottingham <notting@redhat.com>2004-02-01 21:24:34 +0000
commitcd76ecc0f4a326030c5c0e6ca711311fcf5f979f (patch)
tree6d6ff07a9b36fe4be126113680f49b33310ba437 /loader2
parent2cce66e2c19063357cb33766cb9845442ed47e81 (diff)
downloadanaconda-cd76ecc0f4a326030c5c0e6ca711311fcf5f979f.tar.gz
anaconda-cd76ecc0f4a326030c5c0e6ca711311fcf5f979f.tar.xz
anaconda-cd76ecc0f4a326030c5c0e6ca711311fcf5f979f.zip
write the include so we get all the stock aliases
Diffstat (limited to 'loader2')
-rw-r--r--loader2/modules.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loader2/modules.c b/loader2/modules.c
index 8bf4657e2..a4412aa23 100644
--- a/loader2/modules.c
+++ b/loader2/modules.c
@@ -526,7 +526,8 @@ static int doLoadModules(const char * origModNames, moduleList modLoaded,
logMessage("error appending to /tmp/modprobe.conf: %s\n",
strerror(errno));
} else {
- writeModulesConf(modLoaded, fd);
+ write(fd, "include /etc/modprobe.conf.dist\n", strlen("include /etc/modprobe.conf.dist\n"));
+ writeModulesConf(modLoaded, fd);
close(fd);
}
}