Subject: Re: HEADS UP: RCD_SCRIPTS_EXAMPLEDIR changed to share/examples/rc.d
To: Todd Vierling <tv@duh.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-pkg
Date: 01/02/2005 13:12:16
--a1QUDc0q7S3U7/Jg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jan 01, 2005 at 03:34:02PM -0500, Todd Vierling wrote:
  | On Sun, 2 Jan 2005, Luke Mewburn wrote:
  |=20
  | >   | : ${foo:=3DNO}
  |=20
  | > I have used this techinique in rc.d scripts as well.
  | >
  | > It is important to use it correctly, and only assign the default
  | > after rc.conf(5) has been (re)loaded.  I.e:
  |=20
  | Actually, that shouldn't be a problem in the normal case.  Whether rc.c=
onf
  | is already "preloaded" or loaded later, the standard rc.conf setting
  | construct of
  |=20
  | foo=3DYES
  |=20
  | should override the default setting construct above.

Except where people may want to do fancy shell variable manipulation
in /etc/rc.conf or /etc/rc.conf.d/foo.

--a1QUDc0q7S3U7/Jg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFB11iApBhtmn8zJHIRAp0mAKDBY+j3ztt/B92ayDhJ8oxEAOkV7ACgwPQr
zLOiYQFnFiZdiJgouWcfwRA=
=y0wL
-----END PGP SIGNATURE-----

--a1QUDc0q7S3U7/Jg--