From owner-freebsd-stable@FreeBSD.ORG Tue Jun 14 15:58:37 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B5A916A41C for ; Tue, 14 Jun 2005 15:58:37 +0000 (GMT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 089B343D53 for ; Tue, 14 Jun 2005 15:58:36 +0000 (GMT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas@localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.12.10/8.12.10) with ESMTP id j5EFwaOu063424; Tue, 14 Jun 2005 11:58:36 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.12.10/8.12.10/Submit) id j5EFwa9E063423; Tue, 14 Jun 2005 11:58:36 -0400 (EDT) (envelope-from mwlucas) Date: Tue, 14 Jun 2005 11:58:36 -0400 From: "Michael W. Lucas" To: Vivek Khera Message-ID: <20050614155836.GA63382@bewilderbeast.blackhelicopters.org> References: <20050614150240.GA62949@bewilderbeast.blackhelicopters.org> <42AEF361.2010405@t-hosting.hu> <590EEFC5-8D42-40F3-B723-F62F478D09D0@khera.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <590EEFC5-8D42-40F3-B723-F62F478D09D0@khera.org> User-Agent: Mutt/1.4.1i X-Spam-Score: (0) X-Scanned-By: MIMEDefang 2.39 Cc: stable@freebsd.org Subject: Re: /usr/local/etc/rc.d/*.sh not working? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 15:58:37 -0000 On Tue, Jun 14, 2005 at 11:22:07AM -0400, Vivek Khera wrote: > > On Jun 14, 2005, at 11:10 AM, K?vesd?n G?bor wrote: > > >For scripts in /usr/local/etc/rc.d You should add an entry to /etc/ > >rc.conf. > >For example, if You script is somedaemon.sh, then add > >somedaemon_enable='YES' to /etc/rc.conf and it will run at the next > >boot. > > > > but his scripts don't use rc-ng, so this is pointless. > > they should just work if they end in .sh and are executable. And this is the million-dollar question: should they? Two things could be causing this behavior: a) old-style .sh scripts are not supported, Michael needs to rewrite them for rcNG b) old-style .sh scripts are supported, Michael has some other system problem If a), fine. If b), though, I need to really start digging. Anyone here know the definitive answer? Thanks for all the help and suggestions, ==ml -- Michael W. Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org http://www.BlackHelicopters.org/~mwlucas/ "The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur