Re: [rc update] sshd no longer starts at boot

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Mon, 5 Dec 2005 07:52:29 -0800
On Mon, Dec 05, 2005 at 12:30:14PM +0000, Brian Candler wrote:
> On Sun, Dec 04, 2005 at 10:15:03AM -0800, Doug Barton wrote:
> > Nicolas Blais wrote:
> > 
> > >For cupds, after you did the update, did you rm 
> > >/usr/local/etc/rc.d/cups.sh and cp /usr/local/etc/rc.d/cups.sh.sample 
> > >/usr/local/etc/rc.d/cups.sh ?
> > 
> > A more effective long term solution to that problem is to do:
> > 
> > cd /usr/local/etc/rc.d
> > rm cups.sh
> > ln -s cups.sh.sample cups.sh
> 
> I presume that if ports are upgraded so that they honour foo_enable from
> rc.conf, there is no need for them to install foo.sh.sample any more, and
> they should just install foo.sh instead?
> 
> That's unless the port *intends* that the user make changes to the startup
> script directly (in which case, the symlink option given above isn't really
> appropriate)

PREFIX/etc/rc.d/*.sh.sample should not be installed, no exceptions.  If
there's a need for sample startup scripts, we should put them somewhere
under in ${PREFIX}/share/examples.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Received on Mon Dec 05 2005 - 14:52:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:48 UTC