diff options
author | jkh <jkh@FreeBSD.org> | 1996-04-28 22:54:21 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-04-28 22:54:21 +0000 |
commit | 9059910165e6899031d64bb8af99775f82d4cf5e (patch) | |
tree | 78830e282637d9121c05201bea81ffa250ca03f2 /usr.sbin/sysinstall/config.c | |
parent | 590017a61ca58be6918c7060127977c51861c36b (diff) | |
download | FreeBSD-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.c | 9 |
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; |