usched: Allow process to change self cpu affinity
[dragonfly.git] / etc / periodic / daily / 300.calendar
blobac32a90f6b19e8e2e613eaa6e60c2fc6f7c00d81
1 #!/bin/sh
3 # $FreeBSD: src/etc/periodic/daily/300.calendar,v 1.3.2.2 2000/09/20 02:46:15 jkh Exp $
4 # $DragonFly: src/etc/periodic/daily/300.calendar,v 1.2 2003/06/17 04:24:48 dillon Exp $
6 # `calendar -a' needs to die. Why? Because it's a bad idea, particular
7 # with networked home directories, but also in general. If you want the
8 # output of `calendar' mailed to you, set up a cron job to do it,
9 # or run it from your ~/.profile or ~/.login.
12 # If there is a global system configuration file, suck it in.
14 if [ -r /etc/defaults/periodic.conf ]
15 then
16 . /etc/defaults/periodic.conf
17 source_periodic_confs
20 case "$daily_calendar_enable" in
21 [Yy][Ee][Ss])
22 echo ""
23 echo "Running calendar:"
25 calendar -a && rc=0 || rc=3;;
27 *) rc=0;;
28 esac
30 exit $rc