From owner-freebsd-questions@FreeBSD.ORG Tue Jun 10 12:02:59 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 A224732D for ; Tue, 10 Jun 2014 12:02:59 +0000 (UTC) Received: from eu1sys200aog115.obsmtp.com (eu1sys200aog115.obsmtp.com [207.126.144.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 03A092C6F for ; Tue, 10 Jun 2014 12:02:58 +0000 (UTC) Received: from mail-wg0-f44.google.com ([74.125.82.44]) (using TLSv1) by eu1sys200aob115.postini.com ([207.126.147.11]) with SMTP ID DSNKU5bz1CcexPXYgXjYMvwrLDgxgyNabv6H@postini.com; Tue, 10 Jun 2014 12:02:59 UTC Received: by mail-wg0-f44.google.com with SMTP id x13so4565330wgg.27 for ; Tue, 10 Jun 2014 05:02:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to; bh=jaTB9uly+dxnGlzxIv9sypE/MLk2Y2gjtQykzmhYjbI=; b=nMXcvlIBOkbI5MYp+ISrtyl1XXXeevivVddCYhToICU2D9vHOUCnduGBOjxiH0kAV4 +i3alZnv3XM1II4oqtt6tUs/WmbHZ9O6ng8UX3bEXxC6eN0YW2FUzdEpWFAMhsUNlS5V NHru8Fcg+JlwYmCkais/DsbvT2KyAELFzoC096uTca0Dbb87gSAncp89QfffpsLmlLFL tonjKdElaZTWYMKXeUPVOypeyrPlKvSuDkoDL4DCaWVwGuAoDwVJBoCWa8peKq8Lry7z S1EIwilX8wSBTbKqY43Sm9cEGUIiXnf0/bAQuNf7HSp4KovyBBLqc7QCu/pOsykTxPYs Uf6Q== X-Gm-Message-State: ALoCoQlCMNzlOyM1uKJ1jmLVuKjUD0M/uaPWdwoMO9UA2yIXhl70kjogylPxYwDUAX3qoLKkvwfLu/YKTiOL0pSvevGHgcSIE8yZ+7iWm9seL3MOSoLTN7yKHJ6HVnx1CZwMvBoHd93Or2pn3HcHUS5wrIeivf/cEA== X-Received: by 10.194.8.6 with SMTP id n6mr40689024wja.31.1402401748188; Tue, 10 Jun 2014 05:02:28 -0700 (PDT) X-Received: by 10.194.8.6 with SMTP id n6mr40689013wja.31.1402401748100; Tue, 10 Jun 2014 05:02:28 -0700 (PDT) Received: from mech-anton240.men.bris.ac.uk (mech-anton240.men.bris.ac.uk. [137.222.187.240]) by mx.google.com with ESMTPSA id fg5sm20430201wib.17.2014.06.10.05.02.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jun 2014 05:02:27 -0700 (PDT) Received: from mech-anton240.men.bris.ac.uk (localhost [127.0.0.1]) by mech-anton240.men.bris.ac.uk (8.14.7/8.14.7) with ESMTP id s5AC2QCO066629 for ; Tue, 10 Jun 2014 13:02:26 +0100 (BST) (envelope-from mexas@mech-anton240.men.bris.ac.uk) Received: (from mexas@localhost) by mech-anton240.men.bris.ac.uk (8.14.7/8.14.7/Submit) id s5AC2Qo9066628 for freebsd-questions@freebsd.org; Tue, 10 Jun 2014 13:02:26 +0100 (BST) (envelope-from mexas) Date: Tue, 10 Jun 2014 13:02:26 +0100 (BST) From: Anton Shterenlikht Message-Id: <201406101202.s5AC2Qo9066628@mech-anton240.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: quotes around YES or NO are not necessary in /etc/rc.conf? Reply-To: mexas@bris.ac.uk 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:02:59 -0000 Am I right that quotes around YES or NO are not needed in /etc/rc.conf? It seems both forms, e.g.: ntpd_enable="YES" lpd_enable=YES are understood. I think quotes might be coming from incorrect reading of rc.conf(5). It has lines like: rc_debug (bool) If set to “YES”, enable output of debug messages from or rc_info (bool) If set to “NO”, disable informational messages from however this is just quoting the special words from the rest of the sentence. The boolean value is either YES or NO. The quotes are not needed. Can anybody confirm this please. Thanks Anton