3 Apr 2002 02:13
Re: CVS commit: sharesrc/share/sushi/system/rcconf
Tim Rightnour <root <at> garbled.net>
2002-04-03 00:13:58 GMT
2002-04-03 00:13:58 GMT
On 02-Apr-02 Simon Burge wrote: > I haven't really looked at the sushi forms, but can they be somehow > auto-generated from the /etc/defaults files? A few people have asked this in the past. The answer is yes and no. Concievably, it would not be difficult to autogenerate sushi's rcconf form file. Until sushi had the ability to generate it's forms on the fly, this could be a commit-regen task not unlike the pcidevs. The problem is more complex than that however, because sushi needs a description of each line. So, lets compare two areas of the files to explain myself better: accounting=NO # uses /var/account/acct newsyslog=NO newsyslog_flags="" # trim log files script:script1,accounting Start accounting? script:script1,newsyslog Run newsyslog? escript:15,script2,newsyslog_flags Flags to pass newsyslog In order to auto-generate that, the defaults/rc.conf file will have to be regulated into a specific format. Free form comments would likely interfere with the keywords needed to generate sushi's description of each line. Quite frankly, I'm not ready to intrude on the base system to that degree just yet. --- Tim Rightnour <root <at> garbled.net> NetBSD: Free multi-architecture OS http://www.netbsd.org/ NetBSD supported hardware database: http://mail-index.netbsd.org/cgi-bin/hw.cgi
RSS Feed