Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2005 07:52:29 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Brian Candler <B.Candler@pobox.com>
Cc:        Doug Barton <dougb@freebsd.org>, Scott Robbins <scottro@nyc.rr.com>, Nicolas Blais <nb_root@videotron.ca>, freebsd-current@freebsd.org
Subject:   Re: [rc update] sshd no longer starts at boot
Message-ID:  <20051205155229.GB7653@odin.ac.hmc.edu>
In-Reply-To: <20051205123014.GA90877@uk.tiscali.com>
References:  <200512031609.48962.nb_root@videotron.ca> <200512041135.39342.nb_root@videotron.ca> <20051204174032.GA1304@mail.scottro.net> <200512041303.45970.nb_root@videotron.ca> <43933227.4050906@FreeBSD.org> <20051205123014.GA90877@uk.tiscali.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--uZ3hkaAS1mZxFaxD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
> >=20
> > >For cupds, after you did the update, did you rm=20
> > >/usr/local/etc/rc.d/cups.sh and cp /usr/local/etc/rc.d/cups.sh.sample=
=20
> > >/usr/local/etc/rc.d/cups.sh ?
> >=20
> > A more effective long term solution to that problem is to do:
> >=20
> > cd /usr/local/etc/rc.d
> > rm cups.sh
> > ln -s cups.sh.sample cups.sh
>=20
> 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?
>=20
> 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 real=
ly
> 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

--=20
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

--uZ3hkaAS1mZxFaxD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFDlGI8XY6L6fI4GtQRAnX+AJ4v01c1PbUPOmp8u4I0YNlYf0dC1gCdFGI0
Uh5IC6s3hPj2xeYi+0draWk=
=pLpu
-----END PGP SIGNATURE-----

--uZ3hkaAS1mZxFaxD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051205155229.GB7653>