]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a -C (create) option for newsyslog, and a 'C' flag for entries in the
authorGarance A Drosehn <gad@FreeBSD.org>
Sun, 27 Apr 2003 23:37:31 +0000 (23:37 +0000)
committerGarance A Drosehn <gad@FreeBSD.org>
Sun, 27 Apr 2003 23:37:31 +0000 (23:37 +0000)
commit28045703ccd562175b6af3105c51afdfb6071fc4
treec16919ad577092748e7e0c535db1b69bb8d61267
parent74a0458023619de2a07780de9a74b5376d27b7a4
Add a -C (create) option for newsyslog, and a 'C' flag for entries in the
config file.  If the -C option is specified once, then newsyslog will create
any entries which specify the 'C' option.  If -C is given twice, then
newsyslog will create all missing log files.  Some of this code comes
from NetBSD, although this implementation does not exactly match theirs.

Reviewed by: freebsd-arch
MFC after: 10 days
usr.sbin/newsyslog/newsyslog.8
usr.sbin/newsyslog/newsyslog.c