diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-10-22 12:18:16 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-10-22 12:18:16 +0000 |
commit | dddd30e92965cc3160647e2f94dafaa0d51c08f5 (patch) | |
tree | 7825f0329ff73d54c7423bc31e98988e28fbb3db /usr.sbin/relayd/relayd.conf.5 | |
parent | b9e78472b37dcc063d68443a34a7e2b581bcf4be (diff) |
add support for the include directive to the configuration file parser,
based on the existing hostapd/pfctl code.
ok pyr@
Diffstat (limited to 'usr.sbin/relayd/relayd.conf.5')
-rw-r--r-- | usr.sbin/relayd/relayd.conf.5 | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/usr.sbin/relayd/relayd.conf.5 b/usr.sbin/relayd/relayd.conf.5 index e8d8f073c73..c0e626d3cdc 100644 --- a/usr.sbin/relayd/relayd.conf.5 +++ b/usr.sbin/relayd/relayd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: relayd.conf.5,v 1.52 2007/09/28 13:29:56 pyr Exp $ +.\" $OpenBSD: relayd.conf.5,v 1.53 2007/10/22 12:18:15 reyk Exp $ .\" .\" Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org> .\" Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 28 2007 $ +.Dd $Mdocdate: October 22 2007 $ .Dt HOSTSTATED.CONF 5 .Os .Sh NAME @@ -63,6 +63,16 @@ The port name to number mappings are found in the file see .Xr services 5 for details. +.Pp +Comments can be put anywhere in the file using a hash mark +.Pq Sq # , +and extend to the end of the current line. +.Pp +Additional configuration files can be included with the +.Ic include +keyword, for example: +.Bd -literal -offset indent +include "/etc/hoststated.conf.local" .Sh MACROS Macros can be defined that will later be expanded in context. Macro names must start with a letter, and may contain letters, digits, |