Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 15:26:10 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        David Xu <bsddiy@21cn.com>
Cc:        "David O'Brien" <arch@FreeBSD.ORG>, Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>, Jack Rusher <jar@integratus.com>, Neil Blakey-Milner <nbm@mithrandr.moria.org>, Michael Lucas <mwlucas@blackhelicopters.org>, "litos2001@libero.it" <litos2001@libero.it>
Subject:   Re[2]: Startup scripts a la NetBSD
Message-ID:  <Pine.BSF.4.33.0104021519460.34175-100000@resnet.uoregon.edu>
In-Reply-To: <1221561234.20010402091618@21cn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Apr 2001, David Xu wrote:

> In the past, I saw lots of people refused to see rc.d style in
> FreeBSD, include some guys in core team, at that time, I'm very
> disappointed, why is it back again? is this just because of NetBSD?

Because sysv-style init scripts actually make sense for both admins and
installed packages? It's not traditionally BSD, but unfortunately programs
are much more complex today, generally with multiple daemons and
interdependencies for starting up properly.  A vendor-supplied script
makes sure everything is set up to start the daemons/packages correctly,
and gives a nice start/stop knob for the admin to control it with.

For the record, I hacked up this pile of scripts to emulate one runlevel,
along with a linux-style chkconfig(8) script.  You just have to call the
start-rc3.sh script at some point in the boot, and stop-rc3.sh when
shutting down. Since we have rc.shutdown.d you don't have to edit
rc.shutdown anymore.  If you really want Linnex-style /etc/rc.d/init.d/
and friends, this will give it to you.

It should be in
ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/dwhite/sysvrc-1.1.tar.gz,
or any other MASTER_SITE_LOCAL mirror.

Doug White                    |  FreeBSD: The Power to Serve
dwhite@resnet.uoregon.edu     |  www.FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0104021519460.34175-100000>