From owner-freebsd-questions Thu Jan 30 8:40:14 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E14137B401 for ; Thu, 30 Jan 2003 08:40:13 -0800 (PST) Received: from electricrain.com (electricrain.com [64.71.143.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA30743F43 for ; Thu, 30 Jan 2003 08:40:12 -0800 (PST) (envelope-from fuzzy@electricrain.com) Received: (qmail 4241 invoked by uid 540); 30 Jan 2003 16:40:07 -0000 Date: Thu, 30 Jan 2003 08:40:07 -0800 From: Chris Doherty To: freebsd-questions@FreeBSD.ORG Subject: Re: Modifying /etc/rc? Message-ID: <20030130164007.GA29699@zot.electricrain.com> Reply-To: chris-freebsd@randomcamel.net References: <5.2.0.9.0.20030130143905.00a0aaa0@127.0.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.0.20030130143905.00a0aaa0@127.0.0.1> User-Agent: Mutt/1.4i X-Operating-System: XEmacs X-Koan: mu. Organization: The Inside Foundation Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jan 30, 2003 at 02:49:07PM +0700, Roger Merritt said: > Now, it seems to me that modifying the vncserver script is not elegant. I > don't think it's a good idea for me to make *any* modifications to > something that somebody else wrote, even when the code is as clear and easy > to understand as in this case. Besides, what if I upgrade and forget to > check if that file has changed? I could change the PATH variable to add > /usr/X11R6/bin in my rc.d script. This sounds like a better idea to me. /etc/rc is also something that somebody else wrote. > How about making a change to /etc/rc? Is this a Bad Idea (tm)? I'm sure > there's a reason /usr/X11R6/bin isn't in the path set in that script. So > far I haven't made an /etc/rc.local and I don't want to. The obvious > argument against modifying /etc/rc is that it will add another merging > operation to mergemaster whenever I upgrade. Is this kind of modification > suitable for putting in /etc/rc.conf? unless I'm wrong, /etc/rc.local exists specifically so you don't have to modify /etc/rc. /etc/rc refers to rc.local as "traditional (but rather obsolete)", but nowhere in my FreeBSD travels over the past four years have I found any suggestion of what else you're supposed to use. I may not be understanding the problem you're trying to solve. HTH, Chris ------------------------------- Chris Doherty chris [at] randomcamel.net "I think," said Christopher Robin, "that we ought to eat all our provisions now, so we won't have so much to carry." -- A. A. Milne ------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message