quotes around YES or NO are not necessary in /etc/rc.conf?

Anton Shterenlikht mexas at bris.ac.uk
Tue Jun 10 12:02:59 UTC 2014


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


More information about the freebsd-questions mailing list