Make newsyslog at boot optional, as it should have been.

This commit is contained in:
ad 2001-08-18 19:50:19 +00:00
parent 28a9c7f8da
commit e74599e179
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: newsyslog,v 1.1 2000/09/21 10:38:04 ad Exp $
# $NetBSD: newsyslog,v 1.2 2001/08/18 19:50:19 ad Exp $
#
# PROVIDE: newsyslog
@ -10,6 +10,7 @@
. /etc/rc.subr
name="newsyslog"
rcvar=$name
required_files="/etc/newsyslog.conf"
start_precmd="checkyesno newsyslog"
start_cmd="newsyslog_start"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rc.conf.5,v 1.47 2001/06/17 01:14:15 lukem Exp $
.\" $NetBSD: rc.conf.5,v 1.48 2001/08/18 19:50:20 ad Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" Copyright (c) 1997 Curt J. Sampson
@ -193,6 +193,13 @@ Enables process accounting with
Requires
.Pa /var/account/acct
to exist.
.It Sy newsyslog
.Sq YES
or
.Sq NO .
Run
.Nm newsyslog
to trim logfiles before syslogd starts. Intended for laptop users.
.El
.Ss System security setting:
.Bl -tag -width net_interfaces