Browse Source

sample ntpd config file

OPENBSD_3_6
henning 20 years ago
parent
commit
83435a0b47
2 changed files with 13 additions and 3 deletions
  1. +3
    -3
      src/etc/Makefile
  2. +10
    -0
      src/etc/ntpd.conf

+ 3
- 3
src/etc/Makefile View File

@ -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; \


+ 10
- 0
src/etc/ntpd.conf View File

@ -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

Loading…
Cancel
Save