=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/daily,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- src/etc/daily 1996/07/27 14:12:24 1.9 +++ src/etc/daily 1996/11/06 23:03:21 1.10 @@ -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 @@ 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'