From owner-freebsd-questions Thu Jan 30 9: 0:46 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 6F69D37B401 for ; Thu, 30 Jan 2003 09:00:45 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 5121043E4A for ; Thu, 30 Jan 2003 09:00:39 -0800 (PST) (envelope-from mwm-dated-1044378037.589b72@mired.org) Received: (qmail 8801 invoked from network); 30 Jan 2003 17:00:37 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 30 Jan 2003 17:00:37 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15929.23093.305723.127430@guru.mired.org> Date: Thu, 30 Jan 2003 11:00:37 -0600 To: chris-freebsd@randomcamel.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Modifying /etc/rc? In-Reply-To: <20030130164007.GA29699@zot.electricrain.com> References: <5.2.0.9.0.20030130143905.00a0aaa0@127.0.0.1> <20030130164007.GA29699@zot.electricrain.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.68 (Shut Out) 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 In <20030130164007.GA29699@zot.electricrain.com>, Chris Doherty typed: > 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. What obsoletes /etc/rc.local is /usr/local/etc/rc.d. Server startup scripts and the like used to be bodily added to /etc/rc.local. These days, they go into /usr/local/etc/rc.d as separate scripts. That's also the correct solution for this case. Instead of trying to use the vnc script directly, use a script that sets the path and then invokes vnc. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message