[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc RC scripts
On Sun, Oct 04, 2009 at 06:56:10AM -0700, Paul Goyette wrote:
> On Sun, 4 Oct 2009, Geert Hendrickx wrote:
> >>(1) Install pkgsrc RC scripts by default into /etc/rc.pkg.d, not
> >>/etc/rc.d and adjust the default value for rc_directories accordingly.
> >>This keeps the logical separation between base and pkgsrc RC scripts
> >>and still allows /usr (or /usr/pkg) to be on a separate filesystem.
> >Sounds like a good plan. How will you handle duplicated rc.d scripts,
> >eg. /etc/rc.d/sshd vs. /etc/rc.pkg.d/sshd if sshd=yes in /etc/rc.conf?
> And how do you handle rc.d scripts that are only present after some
> other script mounts the containing filesystem? Do you keep track of
> all the scripts that have already been executed, and re-run rcorder?
That's why you put all the script in /etc.
Main Index |
Thread Index |