summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2009-05-10 19:27:25 +0000
committerschwarze <schwarze@openbsd.org>2009-05-10 19:27:25 +0000
commit04bf50796b4320e8f2b4671fe0385669906517bd (patch)
treef57edee092bdfdd6d62d86ed55187877d32d5b21
parentChange agp attach (again) so that the driver passes in the aperture size. (diff)
downloadwireguard-openbsd-04bf50796b4320e8f2b4671fe0385669906517bd.tar.xz
wireguard-openbsd-04bf50796b4320e8f2b4671fe0385669906517bd.zip
avoid unnecessary changes of the output
in order not to annoy parser scripts and their owners (like henning@)
-rw-r--r--etc/daily12
-rw-r--r--etc/monthly4
-rw-r--r--etc/weekly4
3 files changed, 11 insertions, 9 deletions
diff --git a/etc/daily b/etc/daily
index 92aa284d8ae..7fc0bcb9e34 100644
--- a/etc/daily
+++ b/etc/daily
@@ -1,5 +1,5 @@
#
-# $OpenBSD: daily,v 1.58 2009/05/09 17:15:49 schwarze Exp $
+# $OpenBSD: daily,v 1.59 2009/05/10 19:27:25 schwarze Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
umask 022
@@ -44,7 +44,7 @@ run_script() {
. $f
}
-start_part "Running /etc/daily.local:"
+start_part "Running daily.local:"
run_script "daily.local"
next_part "Removing scratch and junk files:"
@@ -110,19 +110,21 @@ next_part "Backing up root filesystem:"
}
}
-next_part "Disk status:"
+next_part "Checking subsystem status:"
+echo ""
+echo "disks:"
df -kl
echo ""
dump W
# The first two regular expressions handle sendmail, the third postfix.
# When the queue is empty, exim -bp keeps silent.
-next_part "Mail queue:"
+next_part "mail:"
mailq | grep -v -e "^/var/spool/mqueue is empty$" \
-e "^[[:blank:]]*Total requests: 0$" \
-e "^Mail queue is empty$"
-next_part "Network status:"
+next_part "network:"
netstat -ivn
t=/var/rwho/*
diff --git a/etc/monthly b/etc/monthly
index d21ee59f812..3866349893c 100644
--- a/etc/monthly
+++ b/etc/monthly
@@ -1,5 +1,5 @@
#
-# $OpenBSD: monthly,v 1.10 2009/05/09 17:15:49 schwarze Exp $
+# $OpenBSD: monthly,v 1.11 2009/05/10 19:27:25 schwarze Exp $
#
umask 022
@@ -37,7 +37,7 @@ run_script() {
. $f
}
-start_part "Running /etc/monthly.local:"
+start_part "Running monthly.local:"
run_script "monthly.local"
end_part
diff --git a/etc/weekly b/etc/weekly
index ec22dccae6a..28ac1ebb280 100644
--- a/etc/weekly
+++ b/etc/weekly
@@ -1,5 +1,5 @@
#
-# $OpenBSD: weekly,v 1.20 2009/05/09 17:15:49 schwarze Exp $
+# $OpenBSD: weekly,v 1.21 2009/05/10 19:27:25 schwarze Exp $
#
umask 022
@@ -40,7 +40,7 @@ run_script() {
. $f
}
-start_part "Running /etc/weekly.local:"
+start_part "Running weekly.local:"
run_script "weekly.local"
next_part "Rebuilding locate database:"