From owner-freebsd-questions@FreeBSD.ORG Tue Jun 10 12:26:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 182CCCA9 for ; Tue, 10 Jun 2014 12:26:18 +0000 (UTC) Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A53632E6D for ; Tue, 10 Jun 2014 12:26:17 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id k48so7430096wev.31 for ; Tue, 10 Jun 2014 05:26:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=THNhKVU4AJlKG/XdPvuOh+xNHTh5TR5FJJasbd+lHQg=; b=LbRvWYraCpvByVdNSe4VYiKOGkvjYivYWuUBy5Wpvy5OZuP2gPDU4lFV5PpQXtgf9R ybUl+kxvPFYB9i6FezPVzfJKuq8OXIXL2YMQLICDuTC/cTdxxOxpL57e9Iaw7/vQFcky wdf7HitRuA7mlfL1KdSBZZWrPW4ZOfkt8kN4cCdglkphFxtlvmTjbK4vHYtuh6Ii5Krm /V0Y2l5+/dVzCnKOumemLVqJ9wWTd1bSqlG3wp3cCnv7mN/YXsCswZuKvsZqiV1MfQDo PKsh5MmFWjrUvtxRCSRQdElIaNrAlzjOov/MHclpaVwo1XZoX9AQwkKPlVu/udUyfq1X qSuQ== X-Received: by 10.180.149.240 with SMTP id ud16mr40680418wib.3.1402403175135; Tue, 10 Jun 2014 05:26:15 -0700 (PDT) Received: from gumby.homeunix.com (2e40c507.skybroadband.com. [46.64.197.7]) by mx.google.com with ESMTPSA id s10sm29383474wjs.29.2014.06.10.05.26.14 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 05:26:14 -0700 (PDT) Date: Tue, 10 Jun 2014 13:26:10 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: quotes around YES or NO are not necessary in /etc/rc.conf? Message-ID: <20140610132610.07c4b256@gumby.homeunix.com> In-Reply-To: <201406101202.s5AC2Qo9066628@mech-anton240.men.bris.ac.uk> References: <201406101202.s5AC2Qo9066628@mech-anton240.men.bris.ac.uk> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 12:26:18 -0000 On Tue, 10 Jun 2014 13:02:26 +0100 (BST) Anton Shterenlikht wrote: > Am I right that quotes around YES or NO are > not needed in /etc/rc.conf? > It's just a bourne shell script, so they aren't needed for just YES or NO. > > I think quotes might be coming from > incorrect reading of rc.conf(5). I doubt that, I think it's probably just a matter of style. Some assignments do require quotes, and a lot of people prefer consistency.