Current Path : /usr/src/etc/periodic/daily/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/etc/periodic/daily/300.calendar |
#!/bin/sh # # $FreeBSD: release/9.1.0/etc/periodic/daily/300.calendar 65843 2000-09-14 17:19:15Z brian $ # # `calendar -a' needs to die. Why? Because it's a bad idea, particular # with networked home directories, but also in general. If you want the # output of `calendar' mailed to you, set up a cron job to do it, # or run it from your ~/.profile or ~/.login. # # If there is a global system configuration file, suck it in. # if [ -r /etc/defaults/periodic.conf ] then . /etc/defaults/periodic.conf source_periodic_confs fi case "$daily_calendar_enable" in [Yy][Ee][Ss]) echo "" echo "Running calendar:" calendar -a && rc=0 || rc=3;; *) rc=0;; esac exit $rc