summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-07-06 04:01:49 +0000
committerhenning <henning@openbsd.org>2004-07-06 04:01:49 +0000
commitbf950ef64b89df0534141a5a0f778d0ce1c68c3e (patch)
tree16347e7dda82518ee0bc3abfb03a0099007bc7df
parentBack out rev 1.2 as it doesn't make sense--since we exit on failure (diff)
downloadwireguard-openbsd-bf950ef64b89df0534141a5a0f778d0ce1c68c3e.tar.xz
wireguard-openbsd-bf950ef64b89df0534141a5a0f778d0ce1c68c3e.zip
sample ntpd config file
-rw-r--r--etc/Makefile6
-rw-r--r--etc/ntpd.conf10
2 files changed, 13 insertions, 3 deletions
diff --git a/etc/Makefile b/etc/Makefile
index b11dc3cee53..9f55a2cd0f0 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.207 2004/05/18 16:45:46 drahn Exp $
+# $OpenBSD: Makefile,v 1.208 2004/07/06 04:01:49 henning Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -18,7 +18,7 @@ BIN1= changelist ccd.conf csh.cshrc csh.login csh.logout daily dhcpd.conf \
mrouted.conf myname netstart networks newsyslog.conf phones printcap \
protocols rbootd.conf rc rc.conf rc.local rc.securelevel rc.shutdown \
remote rpc security services shells spamd.conf syslog.conf weekly \
- etc.${MACHINE}/disktab dhclient.conf mailer.conf
+ etc.${MACHINE}/disktab dhclient.conf mailer.conf ntpd.conf
.if ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
${MACHINE} == "cats" || ${MACHINE} == "hppa" || \
@@ -373,7 +373,7 @@ distrib:
DHSIZE=1024 1536 2048 3072 4096
update-moduli:
( \
- echo '# $$OpenBSD: Makefile,v 1.207 2004/05/18 16:45:46 drahn Exp $$'; \
+ echo '# $$OpenBSD: Makefile,v 1.208 2004/07/06 04:01:49 henning Exp $$'; \
echo '# Time Type Tests Tries Size Generator Modulus'; \
( for i in ${DHSIZE}; do \
ssh-keygen -b $$i -G /dev/stdout; \
diff --git a/etc/ntpd.conf b/etc/ntpd.conf
new file mode 100644
index 00000000000..db6e1a9b6ec
--- /dev/null
+++ b/etc/ntpd.conf
@@ -0,0 +1,10 @@
+# $OpenBSD: ntpd.conf,v 1.1 2004/07/06 04:01:49 henning Exp $
+# sample ntpd configuration file
+# see ntpd.conf(5)
+
+listen on 127.0.0.1
+listen on ::1
+
+# remote servers to synchronize to
+server 10.0.0.1
+server 192.168.1.1