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/500.queuerun |
#!/bin/sh # # $FreeBSD: release/9.1.0/etc/periodic/daily/500.queuerun 94342 2002-04-10 03:58:40Z gshapiro $ # # 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_queuerun_enable" in [Yy][Ee][Ss]) if [ ! -x /usr/sbin/sendmail ] then echo '$daily_queuerun_enable is set but /usr/sbin/sendmail' \ "isn't executable" rc=2 else /usr/sbin/sendmail -q >/dev/null 2>&1 & case "$daily_submit_queuerun" in [Yy][Ee][Ss]) if [ -f /etc/mail/submit.cf ] then /usr/sbin/sendmail -q -Ac >/dev/null 2>&1 & fi;; esac rc=0 fi;; *) rc=0;; esac exit $rc