Subject: Re: managing /usr/pkg/etc/rc.d
To: Martin Husemann <martin@duskware.de>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-users
Date: 05/15/2003 05:41:27
On Thu, 15 May 2003, Martin Husemann wrote:
> On Wed, May 14, 2003 at 12:35:33AM -0400, Erik Osheim wrote:
> > After that, I had been setting sshd=NO in rc.conf, and then calling
> > /usr/pkg/etc/rc.d/sshd start explicitly in rc.local.
>
> Look at the pkgsrc/mail/postfix/MESSAGE file for a *wonderfull*
> way to run a pkgsrc program instead of a system supplied one without
> even messing with the /etc/rc.d file (which would get lost on next
> update).
"etcupdate" doesn't blindly copy over the files in "/etc/rc.d", so the
scripts there don't get lost (and if you do mess up and overwrite one,
you would just copy in the example again).
Frederick