Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2001 08:42:56 +0800
From:      David Xu <bsddiy@21cn.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
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[3]: Startup scripts a la NetBSD
Message-ID:  <39898261.20010403084256@21cn.com>
In-Reply-To: <Pine.BSF.4.33.0104021519460.34175-100000@resnet.uoregon.edu>
References:  <Pine.BSF.4.33.0104021519460.34175-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Doug,

Tuesday, April 03, 2001, 6:26:10 AM, you wrote:

DW> 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?

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

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

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

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

I like the idea, it has unique start/stop interface, I needn't
remember obscure parameters for every daemon, it really got me.
but am I dreaming? I suspect it will never be native supported
in FreeBSD.

-- 
Best regards,
David Xu



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?39898261.20010403084256>