]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r308160,r309194,r309216:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Jul 2017 19:30:13 +0000 (19:30 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Jul 2017 19:30:13 +0000 (19:30 +0000)
commit84a50b0b46050ea9910532d02b516ba2fa3d61d5
treee4c18b5e1faf35d5eadacdf795278d0000e0af8c
parent6ea3e4b7c22c642062838583eb10d1728d96492f
MFC r308160,r309194,r309216:

r308160 (by bapt):

syslogd(8): add an 'include' keyword

All the '.conf' files not beginning with a '.' contained int he directory
following the keyword will be included.

This keyword can only be used in the first level configuration files.

Modify the default syslogd.conf to 'include' /etc/syslog.d and
/usr/local/etc/syslog.d

It simplify a lot handling of syslog from automation tools.

Relnotes: yes

r309194 (by bapt):

initialize *nextp which could be left uninitialized in case the configuration
file cannot be open/read

CID: 1365665

r309216 (by bapt):

Properly initialize nextp

git-svn-id: svn://svn.freebsd.org/base/stable/10@321234 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
etc/mtree/BSD.root.dist
etc/syslog.conf
usr.sbin/syslogd/syslog.conf.5
usr.sbin/syslogd/syslogd.c