pkgsrc-Users archive

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

Re: PKG_RCD_SCRIPTS=YES be default?



On Tue, 5 Jun 2012, Aleksej Saushev wrote:

> "Jeremy C. Reed" <reed%reedmedia.net@localhost> writes:
> 
> > What is more user friendly -- needed rc.d scripts not installed or 
> > unneeded rc.d scripts installed but disabled?
> >
> 
> We don't have necessary support in place, first of all.
> 
> First, it should install into separate subdirectory different from /etc/rc.d,
> Default RCD_SCRIPTS_DIR should be changed before anything else so that
> packages don't overwrite system startup scripts.

The install scripts won't overwrite any file if it already exists.

> Second, pkgsrc tools should deal with directory installation somehow.

Already do.

> Also, they should support selection of whether user wants startup
> scripts installed. I don't see anything related neither in pkg_add(1)
> nor in pkg_install.conf(5).

This can already be done by setting PKG_RCD_SCRIPTS=no in the environment
before running pkg_add.

-- 
Steven


Home | Main Index | Thread Index | Old Index