summaryrefslogtreecommitdiffstats
path: root/900.lfdroplist.sh
blob: 67945389300ef174772fdde243b0eb6fbdd2c6cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/sh

if [ -r /etc/defaults/periodic.conf ]; then
	. /etc/defaults/periodic.conf
	source_periodic_confs
fi

PATH=$PATH:/usr/local/bin:/usr/local/sbin
export PATH

if ! [ -x /usr/local/sbin/lf-droplist-update ]; then
	exit 0
fi

case "$daily_lfdroplist_enable" in
[Yy][Ee][Ss])
	printf 'Updating the pf droplist:\n'

	/usr/local/sbin/lf-droplist-update
	;;

*)
	;;
esac