Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 1995 05:43:56 -0700
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        ports@freebsd.org
Subject:   Re: ports startup scripts 
Message-ID:  <1002.811601036@critter.tfs.com>
In-Reply-To: Your message of "Wed, 20 Sep 1995 04:59:24 PDT." <199509201159.EAA04965@silvia.HIP.Berkeley.EDU> 

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

Here is my view on this matter:

I belive the scripts should support three arguments:
	start
	stop
	restart

I belive we need to scan multiple directories, and support the following
semi-hardcoded paths:

	/etc/rc.d
		for the root's own hacks and for major startup tasks
		("sh /etc/rc.d/nfs restart" would be a wonderful thing....)

	/etc/pkg/rc.d
		for installed packages startup tasks

	/etc/X11/rc.d
		for X11 related startup tasks.

It should all be under /etc because the security goes south if we are not
very careful.

And that's all folks...
--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Just that: dried leaves in boiling water ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1002.811601036>