Chapter 19. Configuration file: config.cf

Table of Contents
ML specific configuration file: config.cf
config.cf format
extension to postfix style
overload of variables in config.cf
modifying/adding variables after all configuration files has been loaded.
variable list (alphabetical order)
variable list (class based)

ML specific configuration file: config.cf

You can customize each ML differently. fml4 and fml8 are same in this point.

In the case of fml4, there are $DIR and config.ph in ML home directory. "config.ph" is a perl script.

There is a config.cf file in fml8. Its format is like this:

variable = value
. It is similar to postfix or .ini files.

problems in fml4

The configuration file of fml4 is a perl script. Perl script is good for human editing but it is not suitable for configuration tools. Hence, it is difficult to prepare configuration tools. So, in fml4 two files, cf and config.ph are used. [1]

The use of cf is suitable for configuration tools but introduces another difficulity such as inconsistency between cf and config.ph since human may edit config.ph but not cf. So, fml8 introduces a new format as .cf files. This is postfix flavour.

Notes

[1]

It is similar to the conversion from .mc to .cf in sendmail.

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml-devel/.
fml 4.0 project homepage is www.fml.org/fml/menu.ja.html.
about one floppy bsd routers, see www.bsdrouter.org/.
other free softwares are found at www.fml.org/software/.

author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.

For questions about FML, e-mail <fml-bugs@fml.org>.