diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-11-28 19:43:01 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-11-28 19:43:01 +0000 |
commit | 7891c1e83fd29ec6a586740efa47b083c199c4fc (patch) | |
tree | 54fa04850845be6a76345205f000eb7b354398c4 /share/man/man8 | |
parent | 4332d60c7bd575fa4a9f7e1f2c9f4c29a27e48e4 (diff) |
setting ROOTBACKUP need not be done in crontab: alter the text to
explain better (it must be set in the environment) and use the
crontab text as a valid example;
based on a diff from nick@
ok nick@
Diffstat (limited to 'share/man/man8')
-rw-r--r-- | share/man/man8/afterboot.8 | 11 | ||||
-rw-r--r-- | share/man/man8/daily.8 | 7 |
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 |