Date: Sun, 21 Mar 1999 21:09:23 -0800 From: "Jordan K. Hubbard" <jkh@zippy.cdrom.com> To: John Baldwin <jobaldwi@vt.edu> Cc: freebsd-current@freebsd.org Subject: Re: /etc/rc.conf, take 46! Message-ID: <39605.922079363@zippy.cdrom.com> In-Reply-To: Your message of "Sun, 21 Mar 1999 22:12:03 EST." <XFMail.990321221203.jobaldwi@vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39605.922079363>