From owner-freebsd-questions Sun May 13 18: 1: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from phoenix.welearn.com.au (unknown [139.130.44.81]) by hub.freebsd.org (Postfix) with ESMTP id D4CE637B423 for ; Sun, 13 May 2001 18:01:01 -0700 (PDT) (envelope-from sue@phoenix.welearn.com.au) Received: (from sue@localhost) by phoenix.welearn.com.au (8.11.1/8.11.1) id f4E10pb73175; Mon, 14 May 2001 11:00:51 +1000 (EST) (envelope-from sue) Date: Mon, 14 May 2001 11:00:51 +1000 From: Sue Blake To: Doug Young Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Delayed startup script Message-ID: <20010514110051.J26110@welearn.com.au> References: <028001c0dc0c$34c11040$0300a8c0@oracle> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <028001c0dc0c$34c11040$0300a8c0@oracle>; from dougy@bryden.apana.org.au on Mon, May 14, 2001 at 10:24:13AM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 14, 2001 at 10:24:13AM +1000, Doug Young wrote: > Is there a way to start portsentry automatically after everything else > has already started ?? You'd put its startup script into /usr/local/etc/rc.d and give it an alphabetically late name... but see below. > From what I can understand of the portsentry docs, it needs to be > started after other things because it monitors unused ports. > > According to the Handbook "The resource configuration system reads in > configuration defaults from /etc/defaults/rc.conf, and system-specific > details from /etc/rc.conf, and then proceeds to mount the system > filesystems mentioned in /etc/fstab, start up networking services, > starts up miscellaneous system daemons, and finally runs the startup > scripts of locally installed packages" > > Seems I need a "startup scripts of locally installed packages", but > there doesn't appear to be one provided with portsentry . That phrase refers to the scripts already in /usr/local/etc/rc.d/ But the docs seem to be telling you that it runs those scripts first, then starts itself up (without needing to have its own script there). In that case, relax, you've got what you want already. -- Regards, -*Sue*- Apprentice Klingon Interpreter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message