Previous | Contents | Index |
Many configurations involve repetition of various channel keywords on all or nearly all channels. Maintaining such a configuration is both tedious and error-prone. PMDF offers a simple way to change what defaults apply to various channel keywords. This mechanism can be used to greatly simplify some configurations.
If a line of the form:
defaults keyword1 keyword2 keyword3 ... |
There is no limit on the number of defaults lines that can be specified --- the effects of multiple defaults lines are cumulative with the most recently encountered (reading from top to bottom) line having precedence.
It may be useful to unconditionally eliminate the effects of any defaults lines starting at some point in the configuration file (at the start of a standalone section of channel blocks in an external file, for example). The nodefaults line is provided for this purpose. It takes the form:
nodefaults |
Like regular channel blocks, a blank line must separate each defaults or nodefaults channel block from other channel blocks. The defaults and nodefaults channel blocks are the only channel blocks which may appear before the local channel in the configuration file. However, like any other channel block, they must appear after the last rewrite rule.
Previous | Next | Contents | Index |