aboutsummaryrefslogtreecommitdiff
path: root/net/pwhois/files/512.pwhois-updatedb.in
blob: 4ce4166897c62b3a8254b5d0a43a8803525359b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh -
#
# $FreeBSD$
#

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

rc=0

case "${daily_pwhois-updatedb_enable:-YES}" in
	[Nn][Oo])
	;;
	*)
	[ -x %%PREFIX%%/sbin/pwhois-updatedb ] && %%PREFIX%%/sbin/pwhois-updatedb 1>/dev/null
	;;
esac

exit $rc