summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/config.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-04-28 22:54:21 +0000
committerjkh <jkh@FreeBSD.org>1996-04-28 22:54:21 +0000
commit9059910165e6899031d64bb8af99775f82d4cf5e (patch)
tree78830e282637d9121c05201bea81ffa250ca03f2 /usr.sbin/sysinstall/config.c
parent590017a61ca58be6918c7060127977c51861c36b (diff)
downloadFreeBSD-src-9059910165e6899031d64bb8af99775f82d4cf5e.zip
FreeBSD-src-9059910165e6899031d64bb8af99775f82d4cf5e.tar.gz
Don't stop /etc/sysconfig if we're `faking'.
More asthetic adjustments to menus. Improve both the display efficiency and usability of the label screen - it's now possible to label quite a few disks in the label editor.
Diffstat (limited to 'usr.sbin/sysinstall/config.c')
-rw-r--r--usr.sbin/sysinstall/config.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c
index c195602..f484197 100644
--- a/usr.sbin/sysinstall/config.c
+++ b/usr.sbin/sysinstall/config.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: config.c,v 1.27 1996/04/28 03:26:46 jkh Exp $
+ * $Id: config.c,v 1.28 1996/04/28 20:53:52 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -292,7 +292,12 @@ configSysconfig(void)
/* Now write it all back out again */
fclose(fp);
- fp = fopen("/etc/sysconfig", "w");
+ if (Fake) {
+ msgDebug("Writing sysconfig out to debugging screen..\n");
+ fp = fdopen(DebugFD, "w");
+ }
+ else
+ fp = fopen("/etc/sysconfig", "w");
for (i = 0; i < nlines; i++) {
static Boolean firstTime = TRUE;
OpenPOWER on IntegriCloud