Fix PR bin/22230.

This commit is contained in:
jruoho 2011-05-03 16:25:19 +00:00
parent 4811a79682
commit 6372875351
3 changed files with 49 additions and 37 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: daily.5,v 1.1 2011/05/03 16:12:23 jruoho Exp $
.\" $NetBSD: daily.5,v 1.2 2011/05/03 16:25:19 jruoho Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" All rights reserved.
@ -24,23 +24,24 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd February 5, 2010
.Dt DAILY.CONF 5
.Dd May 3, 2011
.Dt DAILY 5
.Os
.Sh NAME
.Nm daily ,
.Nm daily.conf
.Nd daily maintenance configuration file
.Nd daily maintenance
.Sh DESCRIPTION
The
.Nm
file specifies which of the standard
.Pa /etc/daily
services are performed.
The
.Pa /etc/daily
script is run, by default, every night on a
.Nx
system.
The
.Pa /etc/daily.conf
file specifies which of the standard
.Nm
services are performed.
.Pp
The variables described below can be set to
.Dq YES
@ -194,11 +195,11 @@ local site additions to
.Pa /etc/daily
.El
.Sh SEE ALSO
.Xr monthly.conf 5 ,
.Xr monthly 5 ,
.Xr security.conf 5 ,
.Xr weekly.conf 5
.Xr weekly 5
.Sh HISTORY
The
.Nm
.Pa /etc/daily.conf
file appeared in
.Nx 1.3 .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: monthly.5,v 1.1 2011/05/03 16:12:23 jruoho Exp $
.\" $NetBSD: monthly.5,v 1.2 2011/05/03 16:25:19 jruoho Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" All rights reserved.
@ -24,18 +24,15 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd February 6, 2007
.Dt MONTHLY.CONF 5
.Dd May 3, 2011
.Dt MONTHLY 5
.Os
.Sh NAME
.Nm monthly ,
.Nm monthly.conf
.Nd monthly maintenance configuration file
.Nd monthly maintenance
.Sh DESCRIPTION
The
.Nm
file specifies which of the standard
.Pa /etc/monthly
services are performed. The
.Pa /etc/monthly
script is normally run in the morning of the 1st of every month, on a
.Nx
@ -43,6 +40,11 @@ system.
Note: this is disabled (commented out) in the default root's
.Xr crontab 5
file.
The
.Pa /etc/monthly.conf
file specifies which of the standard
.Nm
services are performed.
.Pp
There are currently no monthly tasks.
.Sh FILES
@ -56,10 +58,10 @@ local site additions to
.Pa /etc/monthly
.El
.Sh SEE ALSO
.Xr daily.conf 5 ,
.Xr weekly.conf 5
.Xr daily 5 ,
.Xr weekly 5
.Sh HISTORY
The
.Nm
.Pa /etc/monthly.conf
file appeared in
.Nx 1.3 .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: weekly.5,v 1.1 2011/05/03 16:12:23 jruoho Exp $
.\" $NetBSD: weekly.5,v 1.2 2011/05/03 16:25:19 jruoho Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" All rights reserved.
@ -24,22 +24,24 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd February 15, 2007
.Dt WEEKLY.CONF 5
.Dd May 3, 2011
.Dt WEEKLY 5
.Os
.Sh NAME
.Nm weekly ,
.Nm weekly.conf
.Nd weekly maintenance configuration file
.Nd weekly maintenance
.Sh DESCRIPTION
The
.Nm
file specifies which of the standard
.Pa /etc/weekly
services are performed. The
.Pa /etc/weekly
script is run, by default, every Saturday morning on a
.Nx
system.
The
.Pa /etc/weekly.conf
file specifies which of the standar
.Nm
services are performed.
.Pp
The variables described below can be set to
.Dq YES
@ -56,19 +58,22 @@ file.
directly, as it is often replaced during system upgrades.)
.Bl -tag -width rebuild_locatedb
.It Sy rebuild_locatedb
This rebuilds the locate database,
This rebuilds the
.Xr locate 1
database,
.Pa /var/db/locate.database ,
which must also exist, in order to be rebuilt.
.It Sy rebuild_whatisdb
This rebuilds the whatis database(s).
This rebuilds the
.Xr whatis 1
database(s).
Note that
.Nx
provides a default whatis.db for the system manual pages and
this may not be needed.
(Adjust your
.Pa /etc/man.conf
as necessary.
See
as necessary; see
.Xr man.conf 5
for details.)
.El
@ -87,6 +92,10 @@ local site additions to
.Xr monthly.conf 5
.Sh HISTORY
The
.Nm
file appeared in
.Pa /etc/weekly
script first appeared in
.Bx 4.3 .
The
.Pa /etc/weekly.conf
configuration file appeared in
.Nx 1.3 .