Skip site navigation (1)Skip section navigation (2)
Date:      12 Dec 1998 14:49:02 +0100
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        shmit@kublai.com
Cc:        dima@best.net, Matthew Dillon <dillon@apollo.backplane.com>, jkh@zippy.cdrom.com, committers@FreeBSD.ORG
Subject:   Re: /etc/rc.local
Message-ID:  <xzpn24tjws1.fsf@flood.ping.uio.no>
In-Reply-To: Brian Cully's message of "Sat, 12 Dec 1998 00:17:42 -0500"
References:  <199812120400.UAA42050@apollo.backplane.com> <199812120506.VAA76531@burka.rdy.com> <19981212001742.L29799@kublai.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Cully <shmit@kublai.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpn24tjws1.fsf>