diff options
-rw-r--r-- | etc/daily | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/etc/daily b/etc/daily index fb1509ecc8d..5f15e60e485 100644 --- a/etc/daily +++ b/etc/daily @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: daily,v 1.9 1996/07/27 14:12:24 downsj Exp $ +# $OpenBSD: daily,v 1.10 1996/11/06 23:03:21 deraadt Exp $ # PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local host=`hostname -s` @@ -84,8 +84,12 @@ if [ -f /var/account/acct ]; then fi echo "" -echo "Running calendar:" -calendar -a +if [ -d /var/yp/binding -a ! -d /var/yp/`domainname` ]; then + echo "Not running calendar, (yp client)" +else + echo "Running calendar:" + calendar -a +fi # Rotation of mail log now handled automatically by cron and 'newsyslog' |