cvs commit: src/etc/rc.d localdaemons

Matthew Dillon dillon at
Fri Dec 30 09:41:05 PST 2005

:On Thu, Dec 29, 2005 at 12:48:01PM -0800, Matthew Dillon wrote:
:>   Log:
:>   Do not require a .sh extension for scripts in local_startup dirs,
:>   e.g. /usr/local/etc/rc.d, /usr/pkg/etc/rc.d.  Just assume that all executable
:>   files in said directories are scripts.
:This is actually incorrect for older FreeBSD ports installation, since
:it often installs more than one copy, which would now be run twice.
:I forgot whether it was .orig or .dist or so on, but the .sh check
:protected against it.

    I'm not even going to try to 'fix' multiple copies, at least
    not those with and without .sh.  We can check for obviously
    incorrect suffixes such as .orig or .dist, however.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Commits mailing list