summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/ypxfr/ypxfr_2perday.sh
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>1997-04-20 10:08:39 +0000
committerMats O Jansson <maja@cvs.openbsd.org>1997-04-20 10:08:39 +0000
commit4613101d6ba7f71ad6614ec7ddfaf151aa917660 (patch)
tree5153444a64e1062bff8656781c5c7da7d494bf01 /usr.sbin/ypserv/ypxfr/ypxfr_2perday.sh
parentbfa71ddd2838e30ca99115b407bc506717f55041 (diff)
Added scripts to be used from cron to make sure a slave server is up to date.
-moj
Diffstat (limited to 'usr.sbin/ypserv/ypxfr/ypxfr_2perday.sh')
-rw-r--r--usr.sbin/ypserv/ypxfr/ypxfr_2perday.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.sbin/ypserv/ypxfr/ypxfr_2perday.sh b/usr.sbin/ypserv/ypxfr/ypxfr_2perday.sh
new file mode 100644
index 00000000000..0905270424b
--- /dev/null
+++ b/usr.sbin/ypserv/ypxfr/ypxfr_2perday.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# $OpenBSD: ypxfr_2perday.sh,v 1.1 1997/04/20 10:08:38 maja Exp $
+#
+# ypxfr_2perday.sh - YP maps to be updated twice a day
+#
+
+/usr/sbin/ypxfr hosts.byname
+/usr/sbin/ypxfr hosts.byaddr
+/usr/sbin/ypxfr ethers.byaddr
+/usr/sbin/ypxfr ethers.byname