From owner-freebsd-newbies Fri Aug 18 10:28: 3 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from mail.hellasnet.gr (mail.hellasnet.gr [212.54.192.3]) by hub.freebsd.org (Postfix) with ESMTP id 8D9DB37B422 for ; Fri, 18 Aug 2000 10:28:00 -0700 (PDT) Received: from hades.hell.gr (ppp2.patr.hellasnet.gr [212.54.197.17]) by mail.hellasnet.gr (8.9.1/8.9.1) with ESMTP id UAA27195; Fri, 18 Aug 2000 20:28:27 +0200 (GMT) Received: (from charon@localhost) by hades.hell.gr (8.10.2/8.10.2) id e7IHRuF03109; Fri, 18 Aug 2000 20:27:56 +0300 (EEST) Date: Fri, 18 Aug 2000 20:27:56 +0300 From: Giorgos Keramidas To: "Bambrough, Thomas" Cc: "'freebsd-newbies@freebsd.org'" Subject: Re: FW: Proper location for starting daemons at the different init le vels Message-ID: <20000818202756.A2942@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from tom.bambrough@windriver.com on Thu, Aug 17, 2000 at 11:36:42AM -0500 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Aug 17, 2000 at 11:36:42AM -0500, Bambrough, Thomas wrote: > > > Is there a description where one should put scripts and thing that you > > want executed at the different init levels. What runlevels? AFAIK, FreeBSD does not have the notion of runlevels. > > Specifically, I'm looking for the location to place the DHCP server daemon > > startup. Some say that should be in RC, but > > when I look in there it thou shall not modify. Ideally I want to place it > > where it will not be changed in an OS upgrade. You can put a System-V style script in /usr/local/etc/rc.d and the startup scripts of FreeBSD in /etc will take care of running it when the system boots. Note that the "upgrade procedure" does not usually touch /etc if you are updating your system with CVSup, and recompiling the world. You have to update your /etc manually, which means that you can also put any changes you like in /etc/rc and take care when upgrading. -- Giorgos Keramidas, For my public pgp2 key: finger -l keramida@diogenis.ceid.upatras.gr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message