summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hierling <mad@cc.fh-luh.de>2006-06-28 13:22:46 +0000
committerMartin Hierling <mad@cc.fh-luh.de>2006-06-28 13:22:46 +0000
commit0b0d1bf7da18aba03e2351a0182c2a364cc9072e (patch)
tree3faa7a168fed671c6ba95390e3969238bfbdf0b8 /net-dns/nsd/files/nsd.cron
parentsys-apps/cddetect - don't die on dobin or simple sed (diff)
downloadsunrise-0b0d1bf7da18aba03e2351a0182c2a364cc9072e.tar.gz
sunrise-0b0d1bf7da18aba03e2351a0182c2a364cc9072e.tar.bz2
sunrise-0b0d1bf7da18aba03e2351a0182c2a364cc9072e.zip
New Ebuild for bug 128246 net-dns/nsd thanks to Albert Holm
svn path=/sunrise/; revision=347
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