Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 13:02:26 +0100 (BST)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        freebsd-questions@freebsd.org
Subject:   quotes around YES or NO are not necessary in /etc/rc.conf?
Message-ID:  <201406101202.s5AC2Qo9066628@mech-anton240.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406101202.s5AC2Qo9066628>