Subject: Re: CVS commit: sharesrc/share/sushi/system/rcconf
To: Tim Rightnour <>
From: Andrew Brown <>
List: tech-userlevel
Date: 04/07/2002 23:49:11
>> 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.
>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.

here's another idea.  have comments in the various /etc/rc.d/ files
that describe the variables (and describe the defaults in the
comments).  then the sushi stuff (and /etc/defaults/rc.conf) could be
built from that.

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."