Subject: Re: CVS commit: sharesrc/share/sushi/system/rcconf
To: Simon Burge <>
From: Tim Rightnour <>
List: tech-userlevel
Date: 04/02/2002 17:13:58
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

Tim Rightnour <>
NetBSD: Free multi-architecture OS
NetBSD supported hardware database: