22 lines
309 B
Text
22 lines
309 B
Text
|
#!/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
|