3 # $FreeBSD: src/etc/periodic/daily/320.rdist,v 1.3.2.2 2000/09/20 02:46:15 jkh Exp $
4 # $DragonFly: src/etc/periodic/daily/320.rdist,v 1.2 2003/06/17 04:24:48 dillon Exp $
7 # If there is a global system configuration file, suck it in.
9 if [ -r /etc/defaults/periodic.conf ]
11 . /etc/defaults/periodic.conf
15 case "$daily_distfile_enable" in
17 if [ ! -f /etc/Distfile ]
19 echo '$daily_distfile_enable is set but /etc/Distfile' \
24 echo "Running rdist with /etc/Distfile:"
26 rdist -f /etc/Distfile && rc=0 || rc=3