fml 8 tutorial
Prev | Chapter 29. Configuration File: config.cf | Next

# config.cf Format

The format of "config.cf" is "variable = value syntax". If plural values are required, space or "\n\s" is a separator.

    variable = value

    valiable = value1 value2 value3

    variable = value1
               value2
               value3

The syntax of files with the suffix .cf e.g. /etc/fml/main.cf , default_config.cf, is same.

$variable at the right hand is expanded. For example,

    a = value1
    b = $a/value2

is expanded to

    a = value1
    b = value1/value2

.

The variable expansion is done at the last. So, the following definitions

    a = value1
    b = $a/value2/$c
    c = value3
    a = value4

are expaned to

    b = valu4/value2/value3

since the last $a overwrites the previous one.

Prev | Home | Next
Configuration File: config.cf | Up | Extension To Postfix Style

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/software/fml4/.
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>.