tech-pkg archive

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

Re: pkgsrc RC scripts



On Sat, Oct 03, 2009 at 06:13:03PM -0400, Steven Bellovin wrote:
> Both parts strike me as excellent ideas.  However -- where will you
> put the default "NO" information?  What about
> /etc/defaults/rc.pkg.conf?

Just inside the script, e.g.
gdm=${gdm:=NO}
after sourcing /etc/rc.subr.

That part is useful on all platforms and independent of the prefix.

Joerg


Home | Main Index | Thread Index | Old Index