From 567e3fdcca0faa8172592279ac0456abbbcefc73 Mon Sep 17 00:00:00 2001 From: brian Date: Fri, 23 Jun 2000 01:18:31 +0000 Subject: 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 --- usr.sbin/periodic/periodic.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'usr.sbin/periodic/periodic.sh') 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 -- cgit v1.1