summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/nsd/files/nsd.cron')
-rw-r--r--net-dns/nsd/files/nsd.cron10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-dns/nsd/files/nsd.cron b/net-dns/nsd/files/nsd.cron
new file mode 100644
index 000000000..990fc7803
--- /dev/null
+++ b/net-dns/nsd/files/nsd.cron
@@ -0,0 +1,10 @@
+#!/bin/sh
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+#
+NSDC_BIN="/usr/sbin/nsdc"
+
+if [[ -x ${NSDC_BIN} ]]; then
+ ${NSDC_BIN} update >>/dev/null 2>&1
+fi