mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
Death to another bad idea: Don't auto-mount CDROM on startup.
This commit is contained in:
parent
e6405c7a66
commit
b2b2fe4577
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22069
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user