diff options
Diffstat (limited to 'dns/dns-blackhole/files/901.dns-blackhole.in')
-rwxr-xr-x | dns/dns-blackhole/files/901.dns-blackhole.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dns/dns-blackhole/files/901.dns-blackhole.in b/dns/dns-blackhole/files/901.dns-blackhole.in new file mode 100755 index 000000000000..4090a5b6d6ea --- /dev/null +++ b/dns/dns-blackhole/files/901.dns-blackhole.in @@ -0,0 +1,22 @@ +#!/bin/sh - +# +# $FreeBSD$ +# + +if [ -r /etc/defaults/periodic.conf ]; then + . /etc/defaults/periodic.conf + source_periodic_confs +fi + +case "$dns_blackhole_enable" in + [Yy][Ee][Ss]) + + echo + %%PREFIX%%/bin/dns-blackhole.sh -c /usr/local/etc/dns-blackhole/dns-blackhole.conf update + ;; + *) + rc=0 + ;; +esac + +exit $rc |