diff options
author | Matt Wilson <msw@redhat.com> | 2000-02-14 23:17:48 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-02-14 23:17:48 +0000 |
commit | 20b9dd22ef215a55030dc7f05d0d040db8f37c2c (patch) | |
tree | 1322d9bc11a80fa9149b98b583640c1f58d6a1ce | |
parent | 7cd2ac68ee391e7d5ec61e3330a3b0a3653776a4 (diff) | |
download | anaconda-20b9dd22ef215a55030dc7f05d0d040db8f37c2c.tar.gz anaconda-20b9dd22ef215a55030dc7f05d0d040db8f37c2c.tar.xz anaconda-20b9dd22ef215a55030dc7f05d0d040db8f37c2c.zip |
"alias cdrom" wasn't being written
-rw-r--r-- | loader/modules.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/loader/modules.c b/loader/modules.c index 2706dcfc7..afbd2b6b4 100644 --- a/loader/modules.c +++ b/loader/modules.c @@ -263,6 +263,10 @@ int mlWriteConfModules(moduleList list, moduleInfoSet modInfo, int fd) { if ((mi = isysFindModuleInfo(modInfo, lm->name))) { strcpy(buf, "alias "); switch (mi->major) { + case DRIVER_CDROM: + strcat(buf, "cdrom "); + break; + case DRIVER_SCSI: if (scsiNum) sprintf(buf2, "scsi_hostadapter%d ", scsiNum); |