[rc update] sshd no longer starts at boot
Brooks Davis
brooks at one-eyed-alien.net
Mon Dec 5 07:52:37 PST 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20051205/e71d47d9/attachment.bin
More information about the freebsd-current
mailing list