Re: bin/73692 [sysinstall] exiting sysinstall appends text to rc.conf

Olafur Osvaldsson <[email protected]>
Newsgroups gmane.os.freebsd.devel.quality-assurance
Message-ID <[email protected]>
The following reply was made to PR bin/73692; it has been noted by GNATS.

From: Olafur Osvaldsson <[email protected]>
To: [email protected]
Cc: [email protected]
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: [email protected]
 
 --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--
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-qa
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.