diff options
author | brian <brian@FreeBSD.org> | 2000-06-23 01:18:31 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-06-23 01:18:31 +0000 |
commit | 567e3fdcca0faa8172592279ac0456abbbcefc73 (patch) | |
tree | 77123bc5d54c8b955e70336abe11b0e381d8a9cb /usr.sbin/periodic/periodic.sh | |
parent | 5c86744d35958722a77ae5346e0c2ee161efd003 (diff) | |
download | FreeBSD-src-567e3fdcca0faa8172592279ac0456abbbcefc73.zip FreeBSD-src-567e3fdcca0faa8172592279ac0456abbbcefc73.tar.gz |
Introduce /etc/defaults/periodic.conf, similar in concept to rc.conf.
The only change in the default functionality should be that
the output reports are slightly more verbose WRT files deleted.
Not objected to by: freebsd-arch
Diffstat (limited to 'usr.sbin/periodic/periodic.sh')
-rw-r--r-- | usr.sbin/periodic/periodic.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/periodic/periodic.sh b/usr.sbin/periodic/periodic.sh index 479228b..7141710 100644 --- a/usr.sbin/periodic/periodic.sh +++ b/usr.sbin/periodic/periodic.sh @@ -20,11 +20,9 @@ fi # If possible, check the global system configuration file, # to see if there are additional dirs to check -if [ -r /etc/defaults/rc.conf ]; then - . /etc/defaults/rc.conf - source_rc_confs -elif [ -r /etc/rc.conf ]; then - . /etc/rc.conf +if [ -r /etc/defaults/periodic.conf ]; then + . /etc/defaults/periodic.conf + source_periodic_confs fi dir=$1 |