tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc RC scripts



On Mon, 19 Oct 2009, Joerg Sonnenberger wrote:

> On Mon, Oct 19, 2009 at 03:13:14PM +1300, Steven Drake wrote:
> > The second patch to files in pkgsrc/mk/ adds RCD_SCRIPTS_DIR and
> > RC_SUBR_DIR to the variables the +FILES script uses as well as code to
> > modify the rcd scripts when they are installed to RCD_SCRIPTS_DIR.
> 
> If RC scripts should be special cased, 

Dosn't RCD_SCRIPTS_DIR mean there already special cased.

> it should be done properly. 

If you mean thay should have there own script (eg +RCD_SCRIPTS) then i totaly
agree.

> Copying should warn if a script of that name already exists for RC files. 

In what location(s)????

> It might also be nice to setup a rc.conf.d entry, 

Do you want to elaborate?

> It should definitely not be mangled into the existing logic when the
> behavior is different.

If by that you mean modifing the file instead of just coping it and so 
should be in a seperate script (eg +RCD_SCRIPTS), then i'm working on it!

-- 
Steven


Home | Main Index | Thread Index | Old Index