From owner-freebsd-stable@FreeBSD.ORG Tue Jun 14 15:22:09 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 3181D16A41C for ; Tue, 14 Jun 2005 15:22:09 +0000 (GMT) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 043C143D49 for ; Tue, 14 Jun 2005 15:22:08 +0000 (GMT) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id 78532B810; Tue, 14 Jun 2005 11:22:08 -0400 (EDT) In-Reply-To: <42AEF361.2010405@t-hosting.hu> References: <20050614150240.GA62949@bewilderbeast.blackhelicopters.org> <42AEF361.2010405@t-hosting.hu> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <590EEFC5-8D42-40F3-B723-F62F478D09D0@khera.org> Content-Transfer-Encoding: quoted-printable From: Vivek Khera Date: Tue, 14 Jun 2005 11:22:07 -0400 To: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= X-Mailer: Apple Mail (2.730) 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:22:09 -0000 On Jun 14, 2005, at 11:10 AM, K=F6vesd=E1n G=E1bor wrote: > For scripts in /usr/local/etc/rc.d You should add an entry to /etc/=20 > rc.conf. > For example, if You script is somedaemon.sh, then add =20 > somedaemon_enable=3D'YES' to /etc/rc.conf and it will run at the next =20= > 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. > Cheers, > > G=E1bor K=F6vesd=E1n > > Michael W. Lucas wrote: > > >> I'm certain this is documented somewhere, but danged if I can find =20= >> it. >> >> I have a whole variety of custom scripts in /usr/local/etc/rc.d. For >> years now, simply giving them a name ending in .sh and making them >> executable has been sufficient to make them start on boot. >> >> On 5.x, it's not. And now, having upgraded to 4.11-s on some older >> boxes and running portupgrade -a, it's not. >> >> Obviously these scripts need something else. There's no fancy rcNG >> infrastructure in them; is rcNG a requirement for startup scripts =20 >> now? >> Any pointers on where I can find the right documentation? >> >> Thanks, >> >> =3D=3Dml >> >> >> > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-=20 > unsubscribe@freebsd.org" > Vivek Khera, Ph.D. +1-301-869-4449 x806