diff options
author | jkh <jkh@FreeBSD.org> | 1996-03-21 17:20:31 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-03-21 17:20:31 +0000 |
commit | 0554aef0c665ef3941207ddb3d2379f8614ba36b (patch) | |
tree | 99bac6caa5e28fa3fdccc930c267602d5a0da51c /usr.sbin | |
parent | c56a2748b524615c62e8ce0f8acd20ec2168a0ae (diff) | |
download | FreeBSD-src-0554aef0c665ef3941207ddb3d2379f8614ba36b.zip FreeBSD-src-0554aef0c665ef3941207ddb3d2379f8614ba36b.tar.gz |
Whoops! Total brain-fade on that last "optimization" for mounting
the CD (thanks to Mike O'Dell for finding it). Fixed.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sysinstall/media.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/usr.sbin/sysinstall/media.c b/usr.sbin/sysinstall/media.c index 36ac438..9543c12 100644 --- a/usr.sbin/sysinstall/media.c +++ b/usr.sbin/sysinstall/media.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: media.c,v 1.28 1996/03/18 15:28:01 jkh Exp $ + * $Id: media.c,v 1.29 1996/03/19 12:02:20 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -92,15 +92,6 @@ mediaSetCDROM(char *str) Device **devs; int cnt; - if (!file_readable("/cdrom/kernel")) { - vsystem("mount /cdrom"); - if (!file_readable("/cdrom/kernel")) { - msgConfirm("Can't find a FreeBSD CD in /cdrom?"); - return RET_FAIL; - } - else - return RET_SUCCESS; - } devs = deviceFind(NULL, DEVICE_TYPE_CDROM); cnt = deviceCount(devs); if (!cnt) { |