tech-userlevel archive

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

Re: pkgsrc RC scripts

On Tue, Oct 20, 2009 at 12:06:42PM +1300, Steven Drake wrote:
> 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.

They have a special variable in the mk/, but otherwise
share the same code as the rest of the configuration file handling.

> > 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)????


E.g. if you want to install the BIND package from pkgsrc, it should warn
that /etc/rc.d/named already exists.

> > It might also be nice to setup a rc.conf.d entry, 
> Do you want to elaborate?

Create /etc/rc.conf.d/named with named=NO if the variable is currently
undefined. Might need some more magic and based on the discussion here,
not what everyone wants, but I wanted to toss the idea in :)


Home | Main Index | Thread Index | Old Index