Date: Thu, 22 Feb 2007 19:26:58 +0200 From: Vasil Dimov <vd@FreeBSD.org> To: freebsd-rc@freebsd.org Subject: Setting rc scripts default values Message-ID: <20070222172658.GA40593@qlovarnika.bg.datamax>
next in thread | raw e-mail | index | archive | help
--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi,
Is there any special reason to write the rc scripts this way:
load_rc_config "$name"
: ${rsyncd_enable=3D"NO"}
instead of this way:
rsyncd_enable=3D"NO"
load_rc_config "$name"
apache does it this way:
apache_enable=3D${apache_enable-"NO"}
load_rc_config $name
but I think it can safely be changed to
apache_enable=3D"NO"
load_rc_config $name
What did I miss...
--=20
Vasil Dimov
gro.DSBeerF@dv
%
If it's green or wiggles, it's biology.
If it stinks, it's chemistry.
If it doesn't work, it's physics.
--jRHKVT23PllUwdXP
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
iD8DBQFF3dJiFw6SP/bBpCARAugxAJwOz53P7fNX+n/gutc8UmEBXZviqwCg0FW6
TFA0V6ft6frwdY3Cjr0HCGU=
=EfFV
-----END PGP SIGNATURE-----
--jRHKVT23PllUwdXP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070222172658.GA40593>
