summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man8/afterboot.811
-rw-r--r--share/man/man8/daily.87
2 files changed, 11 insertions, 7 deletions
diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8
index 0f6da82e1bc..f6369c574fd 100644
--- a/share/man/man8/afterboot.8
+++ b/share/man/man8/afterboot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: afterboot.8,v 1.111 2005/10/31 19:37:52 jmc Exp $
+.\" $OpenBSD: afterboot.8,v 1.112 2005/11/28 19:43:00 jmc Exp $
.\"
.\" Copyright (c) 1997 Marshall M. Midden
.\" All rights reserved.
@@ -673,14 +673,17 @@ for the mount option:
.Pp
.Dl /dev/wd0j /altroot ffs xx 0 0
.Pp
-and you must add a line to root's
+and the environment variable
+.Ev ROOTBACKUP
+must be set.
+For example, the following can be added to root's
.Xr crontab 5 :
.Pp
.Dl ROOTBACKUP=1
.Pp
-so that the
+The
.Pa /etc/daily
-script will make a daily backup of the root filesystem.
+script will then make a daily backup of the root filesystem.
.Ss Tighten up security
You might wish to tighten up security more by editing
.Pa /etc/fbtab
diff --git a/share/man/man8/daily.8 b/share/man/man8/daily.8
index 04b412e9a72..25577a9ff31 100644
--- a/share/man/man8/daily.8
+++ b/share/man/man8/daily.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: daily.8,v 1.4 2004/09/15 22:38:07 jmc Exp $
+.\" $OpenBSD: daily.8,v 1.5 2005/11/28 19:43:00 jmc Exp $
.\"
.\" Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org>
.\"
@@ -99,9 +99,10 @@ Creates a backup root file system which is updated daily.
This only happens if the following conditions are met:
.Bl -enum -offset indent
.It
+The environment variable
.Ev ROOTBACKUP
-must be set to 1.
-It should be added to root's
+must be set.
+For example, the following can be added to root's
.Xr crontab 5 :
.Pp
.Dl ROOTBACKUP=1