From owner-freebsd-rc@FreeBSD.ORG Thu Feb 22 17:51:44 2007 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6179716A400 for ; Thu, 22 Feb 2007 17:51:44 +0000 (UTC) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.freebsd.org (Postfix) with ESMTP id 1E62013C4A7 for ; Thu, 22 Feb 2007 17:51:44 +0000 (UTC) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id 850ADB848; Thu, 22 Feb 2007 19:26:58 +0200 (EET) Received: (nullmailer pid 40689 invoked by uid 1002); Thu, 22 Feb 2007 17:26:58 -0000 Date: Thu, 22 Feb 2007 19:26:58 +0200 From: Vasil Dimov To: freebsd-rc@freebsd.org Message-ID: <20070222172658.GA40593@qlovarnika.bg.datamax> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline Subject: Setting rc scripts default values X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@FreeBSD.org List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 17:51:44 -0000 --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--