Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 1998 17:26:42 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Dan Janowski <danj@3skel.com>
Cc:        eivind@yes.no, FreeBSD-Hackers@FreeBSD.ORG, jkh@FreeBSD.ORG, Studded@dal.net
Subject:   Re: Discussion about script to update /etc, etc. 
Message-ID:  <19649.890357202@time.cdrom.com>
In-Reply-To: Your message of "Thu, 19 Mar 1998 19:44:25 EST." <199803200044.TAA04352@fnur.3skel.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>  By what do we mean template based? I have a running M4 based
>  system that does rc.conf, uucp, ppp, and a bunch of other crap.
>  I have also (a long time ago) made a mechanism oriented around
>  a /etc/config directory similar to the IRIX 'chkconfig'
>  mechanism.

That's one way - I'm basically thinking of a system that will
allow you, for each given entity, to specify:

1. A documentation string for it.
2. An enable bit ("am I enabled?")
3. One or more commands and their arguments to run when the feature
   is enabled.
4. The default setting for the feature if not set.
5. Any other entities this one depends on (so you can not enable
   feature z if x and y are not).

Whether that's done with m4 or something more complex is up to
the implementor.

				Jordan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19649.890357202>