summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-01-29 00:14:17 +0000
committerjkh <jkh@FreeBSD.org>1997-01-29 00:14:17 +0000
commit9c22ad0f6f78d2ec62b9f7ba0c696393f46a9b74 (patch)
treed783ff5ba65f10648ccf6b1329dafbdfce73eff0 /release
parent7db0f4ba23c97f6c24407305f292ac757a742231 (diff)
downloadFreeBSD-src-9c22ad0f6f78d2ec62b9f7ba0c696393f46a9b74.zip
FreeBSD-src-9c22ad0f6f78d2ec62b9f7ba0c696393f46a9b74.tar.gz
Death to another bad idea: Don't auto-mount CDROM on startup.
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/release/sysinstall/main.c b/release/sysinstall/main.c
index 5a3d56e..6880000 100644
--- a/release/sysinstall/main.c
+++ b/release/sysinstall/main.c
@@ -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)
OpenPOWER on IntegriCloud