tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Moving rc.d scripts to base.tgz

On Sun, Apr 17, 2011 at 09:57:55PM +0000, David Holland wrote:

> So again, how about some examples?

My ipf/ipnat/ipsec configuration is computed from M4 templates.
The ipfilter/ipnat/ipsec scripts update the real configuration
files before using them. This is done by defining an update_config
function and hook it into the process with the *cmd variables
that are actually scriptlets evaluated by rc.subr.

The usage of M4 alone prevents this to be of public interest.

Oh yes, and M4 is turing-completely evil :)

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index