From owner-freebsd-arch Mon Apr 2 17:39:56 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 45D8537B71A for ; Mon, 2 Apr 2001 17:39:53 -0700 (PDT) (envelope-from bsddiy@21cn.com) Received: from William ([192.168.1.98]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id IAA29134; Tue, 3 Apr 2001 08:36:16 +0800 Date: Tue, 3 Apr 2001 08:42:56 +0800 From: David Xu X-Mailer: The Bat! (v1.48f) Personal Organization: Viasoft X-Priority: 3 (Normal) Message-ID: <39898261.20010403084256@21cn.com> To: Doug White Cc: "David O'Brien" , Cy Schubert - ITSD Open Systems Group , Jack Rusher , Neil Blakey-Milner , Michael Lucas , "litos2001@libero.it" Subject: Re[3]: Startup scripts a la NetBSD In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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