From owner-freebsd-ports Tue Nov 14 20: 7:44 2000 Delivered-To: freebsd-ports@freebsd.org Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by hub.freebsd.org (Postfix) with ESMTP id C57CF37B479 for ; Tue, 14 Nov 2000 20:07:40 -0800 (PST) Received: from gate.dinoex.sub.org (dinoex@localhost) by net2.dinoex.sub.org (8.11.1/8.11.1) with BSMTP id eAF457h26671 for ; Wed, 15 Nov 2000 05:05:07 +0100 (CET) (envelope-from dirk.meyer@dinoex.sub.org) X-MDaemon-Deliver-To: To: freebsd-ports@FreeBSD.ORG Message-ID: From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Organization: privat Subject: Re: ports/22698: Ports' rc.d files should use rc.conf Date: Wed, 15 Nov 2000 05:01:28 +0100 X-Mailer: Dinoex 1.76 References: <200011081952.OAA96333@khavrinen.lcs.mit.edu> <3dgujcf8.fsf@gits.dyndns.org> X-Gateway: ZCONNECT gate.dinoex.sub.org [UNIX/Connect 0.90] X-PGP-Fingerprint: 44 16 EC 0A D3 3A 4F 28 8A 8A 47 93 F1 CF 2F 12 X-Copyright: (C) Copyright 1999 by Dirk Meyer -- All rights reserved. X-PGP-Key-Avail: mailto:pgp-public-keys@keys.de.pgp.net Subject:GET 0x331CDA5D X-ZC-VIA: 20001115000000W+1@dinoex.sub.org X-Accept-Language: de,en X-Noad: Please don't send me ad's by mail. I'm bored by this type of mail. X-Note: sending SPAM is a violation of both german and US law and will at least trigger a complaint at your provider's postmaster. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Garrett Wollman wrote: > > > We have several machines which are set up with identical software, for > > > cold-sparing purposes. Not all of these machines run the same set of > > > daemons. IWNRNI the standard rc.d/foo.sh files checked rc.conf to > > > find out whether or not they should be enabled. Dirk Meyer wrote: > > I use a far simpler approach. I just set in my rc.conf: > > local_startup="/usr/local/etc/rc.local" > > and set a link or copy of the .sh file in this directory on each machine. Cyrille Lefevre wrote: > another approach is to "chmod -x" every scripts you won't start. Thats looks nice, but you have to remember to do this again, each time you upgrade any port. In my case the port creates a new script in $PREFIX/ect/rc.d and I can keeep a old or modified version of in in rc.local This I have to update by hand. But no port would be started by default. This is fine if you have more than one computer. On the other hand it makes it if the average User much more complicated. My hack works fine for me here. kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message