Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2004 22:40:28 GMT
From:      Olafur Osvaldsson <oli@isnic.is>
To:        freebsd-qa@FreeBSD.org
Subject:   Re: bin/73692 [sysinstall] exiting sysinstall appends text to rc.conf
Message-ID:  <200411092240.iA9MeSJ3027562@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/73692; it has been noted by GNATS.

From: Olafur Osvaldsson <oli@isnic.is>
To: freebsd-gnats-submit@FreeBSD.org
Cc: nehalmistry@gmx.net
Subject: Re: bin/73692 [sysinstall] exiting sysinstall appends text to rc.conf
Date: Tue, 9 Nov 2004 22:31:58 +0000

 --r5Pyd7+fXNt84Ff3
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Attached is a patch that fixes this bug.
 
 It was introduced by trhodes at Sat Jul 12 15:33:09 2003 UTC
 http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/sysinstall/config.c.diff?r1=1.210&r2=1.211
 
 /Oli
 
 -- 
 Olafur Osvaldsson
 Systems Administrator
 Internet a Islandi hf.
 Tel:   +354 525-5291
 Email: oli@isnic.is
 
 --r5Pyd7+fXNt84Ff3
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="sysinstall.diff"
 
 --- usr.sbin/sysinstall/config.c.orig	Tue Nov  9 22:13:20 2004
 +++ usr.sbin/sysinstall/config.c	Tue Nov  9 22:24:44 2004
 @@ -428,7 +428,7 @@
  		fprintf(rcSite, "#REMOVED: %s", line);
  	}
  	fclose(rcOld);
 -    } else {
 +    } else if (write_header) {
  	fprintf(rcSite, "# This file now contains just the overrides from /etc/defaults/rc.conf.\n");
  	fprintf(rcSite, "# Please make all changes to this file, not to /etc/defaults/rc.conf.\n\n");
  	fprintf(rcSite, "# Enable network daemons for user convenience.\n");
 
 --r5Pyd7+fXNt84Ff3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411092240.iA9MeSJ3027562>