summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/main.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-09-15 23:55:23 +0000
committerjkh <jkh@FreeBSD.org>1996-09-15 23:55:23 +0000
commite4df920fb24f2f806958759394c7d8d66ba69280 (patch)
treea38561cee3dd4f2f4a6d8fb0820143cc2d232cf5 /usr.sbin/sysinstall/main.c
parent6481546be07ad88b5a0c528b56b94f1a731fe758 (diff)
downloadFreeBSD-src-e4df920fb24f2f806958759394c7d8d66ba69280.zip
FreeBSD-src-e4df920fb24f2f806958759394c7d8d66ba69280.tar.gz
Remove some bogosities I introduced with the init file hack (not serious,
just bogus). Also turn off by default - whoops!
Diffstat (limited to 'usr.sbin/sysinstall/main.c')
-rw-r--r--usr.sbin/sysinstall/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/main.c b/usr.sbin/sysinstall/main.c
index 2149899..5f42e4b 100644
--- a/usr.sbin/sysinstall/main.c
+++ b/usr.sbin/sysinstall/main.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
- * $Id: main.c,v 1.25 1996/07/22 18:43:21 jkh Exp $
+ * $Id: main.c,v 1.26 1996/09/08 01:39:24 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -113,6 +113,9 @@ main(int argc, char **argv)
/* If we have a compiled-in startup config file name, look for it and try to load it on startup */
#if defined(LOAD_CONFIG_FILE)
else {
+ extern char *distWanted;
+
+ distWanted = (char *)1; /* Tell mediaSetFloppy() to try floppy now */
/* Try to open the floppy drive if we can do that first */
if (DITEM_STATUS(mediaSetFloppy(NULL)) != DITEM_FAILURE && mediaDevice->init(mediaDevice)) {
int fd;
OpenPOWER on IntegriCloud