Add configuration file include directive

To include the contents of another configuration file simply do e.g.:

[include raspberrypi.conf]

Also, included file can include other files which can include other
files etc.

This feature is useful for managing many configuration files and sharing
configuration files with others.
This commit is contained in:
Martin Lund 2024-07-18 21:01:26 +02:00
parent 14963032c3
commit 725423c50c
4 changed files with 144 additions and 19 deletions

View file

@ -581,6 +581,9 @@ Run script on connect
.IP "\fBexec"
Execute shell command with I/O redirected to device
.PP
It is possible to include the content of other configuration files using the
include directive like so: "[include <file>]".
.SH "CONFIGURATION FILE EXAMPLES"