From owner-freebsd-current Wed Dec 20 04:27:08 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA17281 for current-outgoing; Wed, 20 Dec 1995 04:27:08 -0800 (PST) Received: from skiddaw.elsevier.co.uk (skiddaw.elsevier.co.uk [193.131.222.60]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA17276 for ; Wed, 20 Dec 1995 04:27:04 -0800 (PST) Received: from snowdon.elsevier.co.uk (snowdon.elsevier.co.uk [193.131.197.164]) by skiddaw.elsevier.co.uk (8.6.12/8.6.12) with ESMTP id MAA05730; Wed, 20 Dec 1995 12:25:16 GMT Received: from cadair.elsevier.co.uk (actually host cadair) by snowdon with SMTP (PP); Wed, 20 Dec 1995 12:25:43 +0000 Received: (from dpr@localhost) by cadair.elsevier.co.uk (8.6.12/8.6.12) id MAA23325; Wed, 20 Dec 1995 12:25:36 GMT From: Paul Richards Message-Id: <199512201225.MAA23325@cadair.elsevier.co.uk> Subject: Re: pcnfsd.. To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Wed, 20 Dec 1995 12:25:36 +0000 (GMT) Cc: asami@cs.berkeley.edu, current@FreeBSD.org In-Reply-To: <585.819461208@time.cdrom.com> from "Jordan K. Hubbard" at Dec 20, 95 04:06:48 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@FreeBSD.org Precedence: bulk In reply to Jordan K. Hubbard who said > > It makes enabling it in /etc/sysconfig a one step operation. I can > live with it being a two-stepper, but I can't always count on access > to the package collection.. :-( > It's not a good idea to try and have evey possible package that people might want to use configured from /etc/sysconfig. I'm not happy about apache being started from /etc/rc for example. This just isn't the way things should be. The "system" startup configuration should only deal with the core functionality that every unix box needs to run. Stuff that only particular sites would use should use some other mechanism. Umm, not to go over old wounds, but the code I changed in sysconfig made this straightforward, which looked in a user-definable directory for startup files which packages would stick there when they were installed. If you want to make it easy to configure pcnfsd then all you do is add a default startup file to the package and when you run pkg_add it just appears on the next reboot as though it was part of the system. -- Paul Richards. Originative Solutions Ltd. Internet: paul@netcraft.co.uk, http://www.netcraft.co.uk Phone: 0370 462071 (Mobile), +44 1225 447500 (work)