=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/daily,v retrieving revision 1.58 retrieving revision 1.59 diff -c -r1.58 -r1.59 *** src/etc/daily 2009/05/09 17:15:49 1.58 --- src/etc/daily 2009/05/10 19:27:25 1.59 *************** *** 1,5 **** # ! # $OpenBSD: daily,v 1.58 2009/05/09 17:15:49 schwarze Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # umask 022 --- 1,5 ---- # ! # $OpenBSD: daily,v 1.59 2009/05/10 19:27:25 schwarze Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # umask 022 *************** *** 44,50 **** . $f } ! start_part "Running /etc/daily.local:" run_script "daily.local" next_part "Removing scratch and junk files:" --- 44,50 ---- . $f } ! start_part "Running daily.local:" run_script "daily.local" next_part "Removing scratch and junk files:" *************** *** 110,128 **** } } ! next_part "Disk status:" 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:" mailq | grep -v -e "^/var/spool/mqueue is empty$" \ -e "^[[:blank:]]*Total requests: 0$" \ -e "^Mail queue is empty$" ! next_part "Network status:" netstat -ivn t=/var/rwho/* --- 110,130 ---- } } ! 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:" mailq | grep -v -e "^/var/spool/mqueue is empty$" \ -e "^[[:blank:]]*Total requests: 0$" \ -e "^Mail queue is empty$" ! next_part "network:" netstat -ivn t=/var/rwho/*