diff options
author | Bill Nottingham <notting@redhat.com> | 2004-02-01 21:24:34 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-02-01 21:24:34 +0000 |
commit | cd76ecc0f4a326030c5c0e6ca711311fcf5f979f (patch) | |
tree | 6d6ff07a9b36fe4be126113680f49b33310ba437 /loader2 | |
parent | 2cce66e2c19063357cb33766cb9845442ed47e81 (diff) | |
download | anaconda-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.c | 3 |
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); } } |