Browse Source

Run "rcctl ls faulty", which is silent when all services work as expected.

Based on an original idea and a different patch from landry@.
OK jung@ zhuk@ landry@
krw@ agreed to the general idea
OPENBSD_5_9
schwarze 8 years ago
parent
commit
6f541e8266
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/etc/daily

+ 4
- 1
src/etc/daily View File

@ -1,5 +1,5 @@
#
# $OpenBSD: daily,v 1.84 2015/12/30 22:59:53 rpe Exp $
# $OpenBSD: daily,v 1.85 2016/01/28 15:45:34 schwarze Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
# For local additions, create the file /etc/daily.local.
@ -126,6 +126,9 @@ while [ "X$ROOTBACKUP" = X1 ]; do
break
done
next_part "Services that should run but don't:"
rcctl ls faulty
next_part "Checking subsystem status:"
if [ "X$VERBOSESTATUS" != X0 ]; then
echo ""


Loading…
Cancel
Save