From owner-cvs-all Sat Dec 12 05:49:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA25056 for cvs-all-outgoing; Sat, 12 Dec 1998 05:49:11 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA25051 for ; Sat, 12 Dec 1998 05:49:09 -0800 (PST) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.1/8.9.1) id OAA42388; Sat, 12 Dec 1998 14:49:03 +0100 (CET) (envelope-from des) To: shmit@kublai.com Cc: dima@best.net, Matthew Dillon , jkh@zippy.cdrom.com, committers@FreeBSD.ORG Subject: Re: /etc/rc.local References: <199812120400.UAA42050@apollo.backplane.com> <199812120506.VAA76531@burka.rdy.com> <19981212001742.L29799@kublai.com> From: Dag-Erling Smorgrav Date: 12 Dec 1998 14:49:02 +0100 In-Reply-To: Brian Cully's message of "Sat, 12 Dec 1998 00:17:42 -0500" Message-ID: Lines: 18 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Brian Cully writes: > On Fri, Dec 11, 1998 at 09:06:35PM -0800, Dima Ruban wrote: > > Yes, it wouldn't be hard to do it, but I don't exactly see a point > > doing it. rc.local is empty and usually it stays empty (or almost empty). > It does? I've rarely worked with a machine that has an empty > rc.local. What if I want to run MySQL, or Apache, or ftpd in stand > alone mode, or any of the millions of other things that people can > do in rc.local? That's what /usr/local/etc/rc.d is for, and most of the ports handle this correctly. For instance, here's my /usr/local/etc/rc.d/ftpd.sh: #!/bin/sh [ -x /usr/libexec/ftpd ] && /usr/libexec/ftpd -DAll && echo -n ' ftpd' DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message