The problem with putting code in /etc/defaults/rc.conf is that
simplistic parsers which read it as ``var = value # optional comment''
get very confused by for loops or function declarations or what have
you.  It also makes it more difficult to read in /etc/{*,.}rc.conf
from an admin program, permute it in some way, and then write out a
whole new config file - you have to detect the meta-information
somehow and preserve it across saves in addition to just parsing
variables (which is more straight-forward to say the least).

- Jordan


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to