Death to another bad idea: Don't auto-mount CDROM on startup.

This commit is contained in:
Jordan K. Hubbard 1997-01-29 00:14:17 +00:00
parent e6405c7a66
commit b2b2fe4577
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22069
3 changed files with 0 additions and 21 deletions

View File

@ -93,13 +93,6 @@ main(int argc, char **argv)
if (!RunningAsInit) {
int i, start_arg;
/* Try to set ourselves up as a CDROM if we can do that first */
if (DITEM_STATUS(mediaSetCDROM(NULL)) == DITEM_SUCCESS) {
/* If we can't initialize it, it's probably not a FreeBSD CDROM so punt on it */
if (!mediaDevice->init(mediaDevice))
mediaDevice = NULL;
}
if (!strstr(argv[0], "sysinstall"))
start_arg = 0;
else if (Fake)

View File

@ -93,13 +93,6 @@ main(int argc, char **argv)
if (!RunningAsInit) {
int i, start_arg;
/* Try to set ourselves up as a CDROM if we can do that first */
if (DITEM_STATUS(mediaSetCDROM(NULL)) == DITEM_SUCCESS) {
/* If we can't initialize it, it's probably not a FreeBSD CDROM so punt on it */
if (!mediaDevice->init(mediaDevice))
mediaDevice = NULL;
}
if (!strstr(argv[0], "sysinstall"))
start_arg = 0;
else if (Fake)

View File

@ -93,13 +93,6 @@ main(int argc, char **argv)
if (!RunningAsInit) {
int i, start_arg;
/* Try to set ourselves up as a CDROM if we can do that first */
if (DITEM_STATUS(mediaSetCDROM(NULL)) == DITEM_SUCCESS) {
/* If we can't initialize it, it's probably not a FreeBSD CDROM so punt on it */
if (!mediaDevice->init(mediaDevice))
mediaDevice = NULL;
}
if (!strstr(argv[0], "sysinstall"))
start_arg = 0;
else if (Fake)