diff options
author | Daniel Jakots <danj@cvs.openbsd.org> | 2020-10-20 22:42:30 +0000 |
---|---|---|
committer | Daniel Jakots <danj@cvs.openbsd.org> | 2020-10-20 22:42:30 +0000 |
commit | 84c3a7d0b1aa069774353267b5b94194e95057d7 (patch) | |
tree | 7a05eaa1ba4da165a8b23b6156d3f2679ec59f9f /share/man | |
parent | 9b2da5179f5bb9404cb78e8b214f4929cefdcd65 (diff) |
Remove calls for df(1), netstat(1), and the verbose dump(1)
With this change, daily(8) only sends email when something looks
dubious.
Consequently VERBOSESTATUS is now a no-op and may be unset.
The code is trivial and riddled with choices that look like personal
preferences. The old behavior can be achieved through
/etc/daily.local.
With schwarze@, tweak kn@, sthen@
OK schwarze@, kn@, jung@
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man8/afterboot.8 | 6 | ||||
-rw-r--r-- | share/man/man8/daily.8 | 21 |
2 files changed, 4 insertions, 23 deletions
diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8 index 7efd8659031..b9b551bf412 100644 --- a/share/man/man8/afterboot.8 +++ b/share/man/man8/afterboot.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: afterboot.8,v 1.165 2020/02/09 16:36:02 espie Exp $ +.\" $OpenBSD: afterboot.8,v 1.166 2020/10/20 22:42:29 danj Exp $ .\" .\" Copyright (c) 1997 Marshall M. Midden .\" All rights reserved. @@ -29,7 +29,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: February 9 2020 $ +.Dd $Mdocdate: October 20 2020 $ .Dt AFTERBOOT 8 .\" Originally created by Marshall M. Midden -- 1997-10-20, m4@umn.edu .Os @@ -458,8 +458,6 @@ to understand what the periodic system maintenance scripts do and how to customize them: For example, to enable .Ev ROOTBACKUP -or to disable -.Ev VERBOSESTATUS , or to add local maintenance code to .Pa /etc/daily.local , /etc/weekly.local , or diff --git a/share/man/man8/daily.8 b/share/man/man8/daily.8 index aea087a050f..04d0a27fa2e 100644 --- a/share/man/man8/daily.8 +++ b/share/man/man8/daily.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: daily.8,v 1.28 2020/07/26 13:27:24 rob Exp $ +.\" $OpenBSD: daily.8,v 1.29 2020/10/20 22:42:29 danj Exp $ .\" .\" Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 26 2020 $ +.Dd $Mdocdate: October 20 2020 $ .Dt DAILY 8 .Os .Sh NAME @@ -114,15 +114,9 @@ Lists any daemons which are enabled in .Xr rc.conf.local 8 but which are not actually running. .It -Checks disk status. -Reports on the amount of disk used/available via -.Xr df 1 . Reports on which file systems need to be dumped via .Xr dump 8 . .It -Reports networking statistics via -.Xr netstat 1 . -.It Runs the .Xr calendar 1 utility unless the environment variable @@ -205,15 +199,6 @@ If set to 1, run with the no-write flag. .It Ev ROOTBACKUP If set to 1, make a backup of the root file system. -.It Ev VERBOSESTATUS -If set to 0, -.Xr df 1 , -.Xr dump 8 , -and -.Xr netstat 1 -are skipped. -Consequently, if none of the other commands produce any output, -no mail will be sent to root. .El .Pp The following variables can be set in @@ -250,9 +235,7 @@ Root .Sh SEE ALSO .Xr calendar 1 , .Xr crontab 1 , -.Xr df 1 , .Xr locate 1 , -.Xr netstat 1 , .Xr rdist 1 , .Xr whatis 1 , .Xr crontab 5 , |