diff options
Diffstat (limited to 'usr.sbin/xntpd/scripts/support')
25 files changed, 0 insertions, 2151 deletions
diff --git a/usr.sbin/xntpd/scripts/support/README b/usr.sbin/xntpd/scripts/support/README deleted file mode 100644 index 812965bd0955..000000000000 --- a/usr.sbin/xntpd/scripts/support/README +++ /dev/null @@ -1,73 +0,0 @@ -The bin and etc directories contain several scripts (sh and perl) that -should ease startup and configuration of NTP sites. - - bin/monl is a monitoring script that prints out new, current and - old customers of an NTP timeserver when monitoring is - in effect. - monl has following options: - -i <regexp> (regular expression matchin IP addres to be ignored - -d <directory> where the current state is kept (default /tmp) - -v debug output - -n do not translate IP addresses into hostnames - <host> host to be analyzed - - monl uses xntpdc for information gathering and is thus - limited to the NTP version xntpdc is compiled for. - - bin/mvstats moves compresses and removes statistics files (useful mainly - for reference servers - - etc/install creates the locally needed directories for NTP (if not residung in /etc) - - etc/rc starts up daemon with configuration file and key file - etc/cron cron called monitor statistic (uses bin/monl) - etc/crontab crontab prototype for reference time servers - etc/setup sh script sourced by the other scripts for variable setup - -YOU MUST EDIT THESE FILES TO REFLECT YOUR LOCAL SETUP ! - -READ THIS BEFORE USING THE STARTUP SCRIPTS - -The startupscript etc/rc has been written for Suns and HPs. They are not -guaranteed to work elsewhere. Following assumptions have been made: - - All NTP related files reside in ONE directory having following structure: - - bin/* - all executables (daemon, control, date, scripts) - etc/* - startup scripts and cron scripts - conf/* - NTP configuration files - -The variable NTPROOT (etc/rc, etc/install) must be edited to reflect -the NTP directory (e.g. /usr/local/NTP) - -NTP config files are located via Suns arch command and have the name -conf/`arch`.`arch -k`. -These are the default configurations (usually clients). If a file with the name -conf/`arch`.`arch -k`.`hostname` is present this file will be preferred (Reference host, -gateway). If the arch command is not available no-arch is used. The arch command -is usually a shell script which echoes a string unique the the current machine -architecture. - -The tickadj command has its own conf/tickconf file which is used to set host -specific tickadj values. The line with DEFAULT specifies the default tickadj -parameters, all other lines consists of <hostname> <hostid> -<tickadj parameters>. These lines need only be entered if the specified host -needs parameters different from the default parameters. - -Reference clock support is provided for DCF77. If you need to initialize -certain things for reference clock support (e.g. loading STREAMS modules), -you need to edit etc/rc. - -The current config files of Erlangen are included in the conf directory. -They are just for reference, but might help you a bit in setting up a -synchronisation network. - -The advantage of keeping all config files centralized is the easier -administration. - -We replicate the NTP directory via NFS and rdist. - -When you have set up the local config files (YOUR OWN!) you can call -<NTPROOT>/etc/rc for daemon startup. - -For more information: time@informatik.uni-erlangen.de diff --git a/usr.sbin/xntpd/scripts/support/bin/monl b/usr.sbin/xntpd/scripts/support/bin/monl deleted file mode 100755 index f0c48dbf5f3f..000000000000 --- a/usr.sbin/xntpd/scripts/support/bin/monl +++ /dev/null @@ -1,213 +0,0 @@ -#!/local/bin/perl - -%service = ( 0, "unspec", - 1, "Active", - 2, "Passive", - 3, "Client", - 4, "Server", - 5, "Broadcast", - 6, "Control", - 7, "Private" ); -%nc = (); -@ignpat = (); -$noname = 0; -$verbose = 0; -$retries = 5; -$lastkey = 0; - -sub timedelta { - local($tm, $days, $h, $m, $s); - - $tm = @_[$[]; - $days = 0; - $days = sprintf("%dd+", $days) if $days = int($tm / (60*60*24)); - $days = "" unless $days; - $tm = $tm % (60*60*24); - $h = int($tm / (60*60)); - $tm = $tm % (60*60); - $m = int($tm / 60); - $s = $tm % 60; - - return sprintf("%s%02d:%02d:%02d", $days, $h, $m, $s); -} - -sub listentry { - local($host, $mode) = split("$;" , @_[$[]); - local($count, $version, $firsttime) = split("$;" , $_[$[+1]); - local($name); - - if (grep($host =~ m/$_/, @ignpat)) - { - print "ignored $host ...\n" if $verbose; - return; - } - - return if ! $count; - - if (defined($nc{$host})) - { - $name = $nc{$host}; - } - else - { - if ($noname) - { - $nc{$host} = $name = $host; - } - else - { - $name = (gethostbyaddr(pack("C4", split(/\./, $host)), 2))[$[]; - $nc{$host} = $name = $host if ! defined($name); - } - } - - printf ($fmt, ($lastkey eq $host) ? "" : $name, $service{$mode}, $count, $version, &timedelta($firsttime), $firsttime / $count); - - if (@_[$[+2]) - { - $hostcnt++ if $lastkey ne $host; - $packcnt += $count; - $maxtime = $firsttime if $firsttime > $maxtime; - } - - $lastkey = $host; -} - -while ($ARGV[$[] =~ /^-[nvid]$/) - { - if ($ARGV[$[] eq "-i") - { - shift; - push(@ignpat, shift) unless ! defined($ARGV[$[]); - } - elsif ($ARGV[$[] eq "-d") - { - shift; - $dir = shift unless ! defined($ARGV[$[]); - } - elsif ($ARGV[$[] eq "-n") - { - shift; - $noname = 1; - } - elsif ($ARGV[$[] eq "-v") - { - shift; - $verbose = 1; - } - } - -$dir = "/tmp" unless defined($dir); -$gone = 60*60*48; -$fmt = "%48s %10s %7d %7d %13s %14.3f\n"; -$sfmt = "%48s %10s %7s %7s %13s %14s\n"; -@lbl = ("Host", "Mode", "Count", "Version", "Time active", "Packetinterval"); - -if (!defined($ARGV[$[])) - { - $hostname = `hostname`; - chop($hostname); - unshift(@ARGV, $hostname); - } - -foreach $hostname (@ARGV) - { - $dbmfile = $dir . "/monlstats-" . $hostname; - $monl = "xntpdc -c 'hostnames no' -c monl $hostname | tail +3 |"; - $hostcnt = 0; - $packcnt = 0; - $maxtime = 0; - %Seen = (); - %New = (); - %Old = (); - - print "Monitor Status of $hostname\n\n"; - - $cnt = $retries; - do - { - open(MONL, $monl) || die("$monl failed $!"); - @monlout = <MONL>; - close(MONL); - } while (! @monlout && $cnt--); - - if (! @monlout) - { - print "not available.\n"; - next; - } - - dbmopen(Clients, $dbmfile, 0644) || die("dbmopen(.., $dbmfile, ...): $!"); - - foreach (@monlout) - { - chop; - split; - ($host, $count, $mode, $version, $lasttime, $firsttime) = - (@_[$[, $[+2 .. $[+4, $#_-1,$#_]); - - $Seen{$host, $mode} = 1; - - if (!defined($Clients{$host, $mode})) - { - if ($lasttime <= $gone) - { - ## got a new one - $Clients{$host, $mode} = $New{$host, $mode} = join("$;", $count, $version, $firsttime, $lasttime); - } - } - else - { - ## throw out the old ones - if ($lasttime > $gone) - { - $Old{$host, $mode} = $Clients{$host, $mode}; - delete $Clients{$host, $mode}; - } - else - { - $Clients{$host, $mode} = join("$;", $count, $version, $firsttime, $lasttime); - } - } - } - - grep(($Seen{$_} || ($Old{$_} = delete $Clients{$_})), keys(%Clients)); - - if (grep(($tmp = $_ , !grep($tmp =~ m/$_/, @ignpat)), keys(%New))) - { - print "New customers\n"; - print "-------------\n"; - printf $sfmt, @lbl; - grep( &listentry($_, $New{$_}, 1), sort(keys(%New)) ); - print "\n"; - } - - - if (grep((!defined($New{$_}) && ($tmp = $_, !grep($tmp =~ m/$_/, @ignpat))), keys(%Clients))) - { - print "Current customers\n"; - print "-----------------\n"; - printf $sfmt, @lbl; - grep( defined($New{$_}) || &listentry($_, $Clients{$_}, 1) , sort(keys(%Clients)) ); - print "\n"; - } - - if (grep(($tmp = $_, !grep($tmp =~ m/$_/, @ignpat)), keys(%Old))) - { - print "Discarded customers\n"; - print "-------------------\n"; - printf $sfmt, @lbl; - grep( &listentry($_, $Old{$_}, 0) , sort(keys(%Old)) ); - print "\n"; - } - - dbmclose(Clients); - - print "\nSummary:\n"; - print "--------\n"; - printf("Elapsed time: %13s\n", &timedelta($maxtime)); - printf(" Hosts: %13d\n", $hostcnt); - printf(" Packets: %13d\n", $packcnt); - printf(" Rate: %13.2f\n", $packcnt / $maxtime) if $maxtime; - print "\n"; - } diff --git a/usr.sbin/xntpd/scripts/support/bin/mvstats b/usr.sbin/xntpd/scripts/support/bin/mvstats deleted file mode 100755 index e33dc792e805..000000000000 --- a/usr.sbin/xntpd/scripts/support/bin/mvstats +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# mvstats,v 3.1 1993/07/06 01:10:24 jbj Exp -# -# mvstats is called by cron for keeping the log files together -# usually only used on reference hosts -# -# Files reside in /var/NTP -# Files older than 2 days will be compressed, -# Files older than 64 days will be removed. -# -# mvstats,v -# Revision 3.1 1993/07/06 01:10:24 jbj -# XNTP release 3.1 -# -# -# Revision 1.1 1992/12/10 12:58:24 kardel -# Prerelease NTP V3 / DCF -# -# -cd /var/NTP -find . ! -name '*.Z' -mtime +2 -exec compress -f {} \; -find . -mtime +64 -exec rm -f {} \; diff --git a/usr.sbin/xntpd/scripts/support/conf/hp300.hp300 b/usr.sbin/xntpd/scripts/support/conf/hp300.hp300 deleted file mode 100644 index 7b1875842219..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/hp300.hp300 +++ /dev/null @@ -1,70 +0,0 @@ -# -# FAU NTP client configuration file -# -# hp300.hp300,v 3.1 1993/07/06 01:10:27 jbj Exp -# -# hp300.hp300,v -# Revision 3.1 1993/07/06 01:10:27 jbj -# XNTP release 3.1 -# -# -# Revision 1.1 1992/12/10 12:58:29 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.2 1992/09/24 06:10:46 kardel -# authdelay adjust -# -# Revision 1.1 1992/09/24 06:09:23 kardel -# Initial revision -# -# Revision 1.2 1992/01/14 14:01:35 kardel -# update for joined INF4/INF1 nets -# -# -# Local fall back clock -# -precision -7 -# -# Local clock -# -peer 127.127.1.13 -# -broadcastclient yes -# broadcastdelay must be figured out - -# -# peers - local synch setup -# -#server ntps1-0 version 3 -#server ntps1-1 version 2 -#server ntps2-0 version 3 -# -# files -# -driftfile /+private/local/NTP/xntp.drift -# -# authentication stuff -# -authdelay 0.000436 # hp300 -controlkey 1006 -requestkey 1007 -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -# -restrict default notrust lowpriotrap nomodify -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.1.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.31.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.40.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.60.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.54.0 mask 255.255.255.0 # allow local hosts -# -restrict 127.0.0.1 mask 255.255.255.255 # local config -restrict 127.127.0.0 mask 255.255.0.0 # local clocks diff --git a/usr.sbin/xntpd/scripts/support/conf/hp700.hp700 b/usr.sbin/xntpd/scripts/support/conf/hp700.hp700 deleted file mode 100644 index 911ff10a5005..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/hp700.hp700 +++ /dev/null @@ -1,67 +0,0 @@ -# -# FAU NTP client configuration file -# -# hp700.hp700,v 3.1 1993/07/06 01:10:29 jbj Exp -# -# hp700.hp700,v -# Revision 3.1 1993/07/06 01:10:29 jbj -# XNTP release 3.1 -# -# -# Revision 1.1 1992/12/10 12:58:31 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.1 1992/09/24 06:09:02 kardel -# Initial revision -# -# Revision 1.2 1992/01/14 14:01:35 kardel -# update for joined INF4/INF1 nets -# -# -# Local fall back clock -# -precision -7 -# -# Local clock -# -peer 127.127.1.13 -# -broadcastclient yes -# broadcastdelay must be figured out - -# -# peers - local synch setup -# -#server ntps1-0 version 3 -#server ntps1-1 version 2 -#server ntps2-0 version 3 -# -# files -# -driftfile /+private/local/NTP/xntp.drift -# -# authentication stuff -# -authdelay 0.000016 # hp700 -controlkey 1006 -requestkey 1007 -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -# -restrict default notrust lowpriotrap nomodify -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.1.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.31.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.40.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.60.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.54.0 mask 255.255.255.0 # allow local hosts -# -restrict 127.0.0.1 mask 255.255.255.255 # local config -restrict 127.127.0.0 mask 255.255.0.0 # local clocks diff --git a/usr.sbin/xntpd/scripts/support/conf/hp700.hp700.faui47 b/usr.sbin/xntpd/scripts/support/conf/hp700.hp700.faui47 deleted file mode 100644 index 80c72a6c2d6d..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/hp700.hp700.faui47 +++ /dev/null @@ -1,71 +0,0 @@ -# -# FAU NTP client configuration file -# -# hp700.hp700.faui47,v 3.1 1993/07/06 01:10:30 jbj Exp -# -# hp700.hp700.faui47,v -# Revision 3.1 1993/07/06 01:10:30 jbj -# XNTP release 3.1 -# -# -# Revision 1.1 1992/12/10 12:58:33 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.1 1992/09/24 14:53:10 kirschni -# Initial revision -# -# Revision 1.1 1992/09/24 06:09:02 kardel -# Initial revision -# -# Revision 1.2 1992/01/14 14:01:35 kardel -# update for joined INF4/INF1 nets -# -# -# Local fall back clock -# -precision -7 -# -# Local clock -# -peer 127.127.1.13 -# -broadcastclient yes -# broadcastdelay must be figured out -broadcast 131.188.54.255 - -# -# peers - local synch setup -# -#server ntps1-0 version 3 -#server ntps1-1 version 2 -#server ntps2-0 version 3 -# -# files -# -driftfile /+private/local/NTP/xntp.drift -# -# authentication stuff -# -authdelay 0.000016 # hp700 -controlkey 1006 -requestkey 1007 -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -# -restrict default notrust lowpriotrap nomodify -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.1.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.31.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.40.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.60.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.54.0 mask 255.255.255.0 # allow local hosts -# -restrict 127.0.0.1 mask 255.255.255.255 # local config -restrict 127.127.0.0 mask 255.255.0.0 # local clocks diff --git a/usr.sbin/xntpd/scripts/support/conf/hp800.hp800 b/usr.sbin/xntpd/scripts/support/conf/hp800.hp800 deleted file mode 100644 index 58f47062a6fd..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/hp800.hp800 +++ /dev/null @@ -1,70 +0,0 @@ -# -# FAU NTP client configuration file -# -# hp800.hp800,v 3.1 1993/07/06 01:10:31 jbj Exp -# -# hp800.hp800,v -# Revision 3.1 1993/07/06 01:10:31 jbj -# XNTP release 3.1 -# -# -# Revision 1.1 1992/12/10 12:58:35 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.2 1992/09/24 06:10:46 kardel -# authdelay adjust -# -# Revision 1.1 1992/09/24 06:09:23 kardel -# Initial revision -# -# Revision 1.2 1992/01/14 14:01:35 kardel -# update for joined INF4/INF1 nets -# -# -# Local fall back clock -# -precision -7 -# -# Local clock -# -peer 127.127.1.13 -# -broadcastclient yes -# broadcastdelay must be figured out - -# -# peers - local synch setup -# -#server ntps1-0 version 3 -#server ntps1-1 version 2 -#server ntps2-0 version 3 -# -# files -# -driftfile /+private/local/NTP/xntp.drift -# -# authentication stuff -# -authdelay 0.000088 # hp800 -controlkey 1006 -requestkey 1007 -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -# -restrict default notrust lowpriotrap nomodify -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.1.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.31.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.40.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.60.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.54.0 mask 255.255.255.0 # allow local hosts -# -restrict 127.0.0.1 mask 255.255.255.255 # local config -restrict 127.127.0.0 mask 255.255.0.0 # local clocks diff --git a/usr.sbin/xntpd/scripts/support/conf/ntp.conf b/usr.sbin/xntpd/scripts/support/conf/ntp.conf deleted file mode 100644 index 06f5482c431e..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/ntp.conf +++ /dev/null @@ -1,36 +0,0 @@ -# -# peers - local synch setup -# -#server ntps1-0 key 0 version 2 -#server ntps1-1 key 0 version 2 -#server ntps2-0 key 0 version 2 -#server ntps2-1 key 0 version 2 -broadcastclient yes -#broadcastdelay # use default, until we measure something -# -# files -# -driftfile /+private/local/NTP/xntp.drift -resolver /local/NTP/bin/xntpres -# -# authentication stuff -# -authdelay 0.000629 -requestkey 65634 -controlkey 65635 -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -restrict default notrust lowpriotrap nopeer nomodify -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.1.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 # allow local hosts -# -restrict 127.127.0.0 mask 255.255.0.0 # allow refclocks -restrict 127.0.0.1 mask 255.255.255.255 # allow local config -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify# allow local hosts diff --git a/usr.sbin/xntpd/scripts/support/conf/ntp.keys b/usr.sbin/xntpd/scripts/support/conf/ntp.keys deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/ntp.keys +++ /dev/null diff --git a/usr.sbin/xntpd/scripts/support/conf/ntp.keys.dumb b/usr.sbin/xntpd/scripts/support/conf/ntp.keys.dumb deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/ntp.keys.dumb +++ /dev/null diff --git a/usr.sbin/xntpd/scripts/support/conf/sun3.sun3 b/usr.sbin/xntpd/scripts/support/conf/sun3.sun3 deleted file mode 100644 index 06f5482c431e..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/sun3.sun3 +++ /dev/null @@ -1,36 +0,0 @@ -# -# peers - local synch setup -# -#server ntps1-0 key 0 version 2 -#server ntps1-1 key 0 version 2 -#server ntps2-0 key 0 version 2 -#server ntps2-1 key 0 version 2 -broadcastclient yes -#broadcastdelay # use default, until we measure something -# -# files -# -driftfile /+private/local/NTP/xntp.drift -resolver /local/NTP/bin/xntpres -# -# authentication stuff -# -authdelay 0.000629 -requestkey 65634 -controlkey 65635 -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -restrict default notrust lowpriotrap nopeer nomodify -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.1.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 # allow local hosts -# -restrict 127.127.0.0 mask 255.255.0.0 # allow refclocks -restrict 127.0.0.1 mask 255.255.255.255 # allow local config -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify# allow local hosts diff --git a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4.faui01 b/usr.sbin/xntpd/scripts/support/conf/sun4.sun4.faui01 deleted file mode 100644 index 8927535ef80a..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4.faui01 +++ /dev/null @@ -1,83 +0,0 @@ -# -# NTP v3 configuration file for faui01 -# -# sun4.sun4.faui01,v 3.1 1993/07/06 01:10:37 jbj Exp -# -# sun4.sun4.faui01,v -# Revision 3.1 1993/07/06 01:10:37 jbj -# XNTP release 3.1 -# -# -# Revision 1.1 1992/12/10 12:58:44 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.3 1992/10/15 10:56:01 kardel -# -60 has 0 broadcasts now -# -# Revision 1.2 1992/09/17 12:46:53 kardel -# CIP network broadcasts -# -# Revision 1.1 1992/06/09 13:40:44 kardel -# Initial revision -# -# - -# -# Local clock definitions -# -precision -14 # kernel fix - HIREZ timer - -# -# Local clock -# -peer 127.127.1.6 # Fall back stratum 6 - -# -# get time from local network - hope this is reasonably stable -# -broadcastclient yes - -# -# files / programs -# -driftfile /+private/local/NTP/xntp.drift - -# -# authentication stuff -# -authdelay 0.000076 -requestkey 1007 -controlkey 1006 - -# -# service -# -broadcast 131.188.54.255 key 0 version 3 -broadcast 131.188.60.0 key 0 version 3 -broadcast 131.188.61.0 version 3 # inf1-net.revue (still on 2) -broadcast 131.188.62.0 version 3 # inf4-net1.revue (still on 2) - -# -# Statistics -# -monitor yes -#statfile /var/NTP/statistics - -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -restrict default notrust lowpriotrap nomodify - -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.1.0 mask 255.255.255.0 notrust # allow local hosts -# -restrict 127.127.0.0 mask 255.255.0.0 # local clocks -restrict 127.0.0.1 # localhost does it too -# -restrict 131.188.1.45 mask 255.255.255.255 # ntps1-0 -restrict 131.188.34.45 mask 255.255.255.255 # ntps1-0 -restrict 131.188.44.45 mask 255.255.255.255 # ntps1-0 diff --git a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4.faui10 b/usr.sbin/xntpd/scripts/support/conf/sun4.sun4.faui10 deleted file mode 100644 index 3be93a920f9a..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4.faui10 +++ /dev/null @@ -1,176 +0,0 @@ -# -# NTP v3 configuration file for faui45 -# -# sun4.sun4.faui10,v 3.1 1993/07/06 01:10:38 jbj Exp -# -# sun4.sun4.faui10,v -# Revision 3.1 1993/07/06 01:10:38 jbj -# XNTP release 3.1 -# -# -# Revision 1.2 1993/01/19 09:32:31 kardel -# Release 1993/01/19 DCF77/PPS -# -# Revision 1.1 1992/12/10 12:58:46 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.11 1992/10/28 07:38:09 kardel -# bear.zoo.bt.co.uk now also peer -# -# Revision 1.10 1992/09/17 12:56:22 kardel -# 61 and 62 have ZEROBROADCASTS -# -# Revision 1.9 1992/09/17 12:46:53 kardel -# CIP network broadcasts -# -# Revision 1.8 1992/08/14 21:51:04 kardel -# local clock is now preferred peer -# -# Revision 1.7 1992/07/19 14:19:26 kardel -# fixed broadcasts -# -# Revision 1.6 1992/07/17 17:12:43 kardel -# new statistics support -# -# Revision 1.5 1992/07/10 07:46:03 kardel -# added loopstats statistic file -# -# Revision 1.4 1992/06/26 07:30:32 kardel -# update for reference clock support -# -# Revision 1.3 1992/05/18 13:51:04 kardel -# precision fix -# -# Revision 1.2 1992/03/30 11:16:07 kardel -# ntps1-1 version 3 -# -# Revision 1.1 1992/01/14 12:30:21 kardel -# Initial revision -# -# - -# -# Local clock definitions -# -precision -18 # us resolution - -# DCF77 - 0 - REFERENCE CLOCK / Meinberg PZF 535/OCXO -# -# Supported clock types Base -# Meinberg DCF PZF535 TCXO 0 -# Meinberg DCF PZF535 OCXO 16 -# Meinberg DCF U/A 31 32 -# -# Option PPS support (CLOCKDEFS=-DDCF -DDCFPPS) -# PPS 128 -# -# The device to be used is added to the base (16 devices possible -# /dev/dcf77-0 - /dev/dcf77-15) -# -# If PPS support is to be used 128 has to be added to the base -# thus a DCF77 U/A 31 without PPS would be 127.127.8.32 (device 0 - /dev/dcf77-0) -# a DCF77 PZF535/TCXO with PPS would be 127.127.8.129 (device 1 - /dev/dcf77-1) -# a DCF77 PZF535/OCXO with PPS would be 127.127.8.146 (device 2 - /dev/dcf77-2) -# -peer 127.127.8.144 prefer # PZF 535/OCXO / PPS support -# -# We want to provide timed service too, thus (startup script magic) -# TIMED - -# -# Local clock -# -peer 127.127.1.6 # Fall back stratum 6 - -# -# peers - local synch setup -# -peer ntps1-0 key 0 version 3 -peer ntps2-0 key 0 version 3 - -# -# European servers -# -peer sunmanager.lrz-muenchen.de key 0 version 2 -peer rustime01.rus.uni-stuttgart.de version 2 -peer mailszrz.zrz.tu-berlin.de version 2 - -# -# UK servers -# -peer bear.zoo.bt.co.uk version 3 - -# US Servers -# -server truechimer.cso.uiuc.edu version 2 - -# -# files / programs -# -driftfile /+private/local/NTP/xntp.drift -resolver /local/NTP/bin/xntpres - -# -# authentication stuff -# -authdelay 0.000076 -requestkey 1007 -controlkey 1006 - -# -# service -# -broadcast 131.188.31.0 version 3 # inf1-net.revue -broadcast 131.188.34.0 version 3 # inf4-net1.revue -broadcast 131.188.44.0 version 3 # inf4-net2.revue -broadcast 131.188.1.255 version 3 # revue.revue -broadcast 131.188.54.255 key 0 version 3 -broadcast 131.188.60.255 key 0 version 3 -broadcast 131.188.61.0 key 0 version 3 -broadcast 131.188.62.0 key 0 version 3 - -# -# Statistics -# -monitor yes - -# -# file name prefix -# -statsdir /var/NTP/ -# -# <stat type> file <file name> type <modifier> enable|disable|link|nolink -filegen peerstats file peerstats type day link # generate <statsdir><file>.<YYYYMMDD> and link generic file name (without extension) -filegen loopstats file loopstats type day link -statistics peerstats loopstats # enable statistics - -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -restrict default notrust lowpriotrap nomodify - -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.31.0 mask 255.255.255.0 notrust # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 notrust # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 notrust # allow local hosts -restrict 131.188.40.0 mask 255.255.255.0 notrust # allow local hosts -# -restrict 127.127.0.0 mask 255.255.0.0 # local clocks -restrict 127.0.0.1 # localhost does it too -# -restrict 131.188.1.45 mask 255.255.255.255 # ntps1-0 -restrict 131.188.34.45 mask 255.255.255.255 # ntps1-0 -restrict 131.188.44.45 mask 255.255.255.255 # ntps1-0 -restrict 131.188.30.1 mask 255.255.255.255 # ntps1-1 -# -# external trust -# -restrict 130.126.174.40 mask 255.255.255.255 nomodify # truechimer.cso.uiuc.edu -restrict 129.69.1.153 mask 255.255.255.255 nomodify # rustime01.rus.uni-stuttgart.de -restrict 129.187.10.32 mask 255.255.255.255 nomodify # sunmanager.lrz-muenchen.de -restrict 130.149.4.11 mask 255.255.255.255 nomodify # mailszrz.zrz.tu-berlin.de -restrict 132.146.40.28 mask 255.255.255.255 nomodify # bear.zoo.bt.co.uk diff --git a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4.faui45 b/usr.sbin/xntpd/scripts/support/conf/sun4.sun4.faui45 deleted file mode 100644 index 57e77f274980..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4.faui45 +++ /dev/null @@ -1,228 +0,0 @@ -# -# NTP v3 configuration file for faui45 -# -# sun4.sun4.faui45,v 3.1 1993/07/06 01:10:39 jbj Exp -# -# sun4.sun4.faui45,v -# Revision 3.1 1993/07/06 01:10:39 jbj -# XNTP release 3.1 -# -# -# Revision 1.2 1993/01/19 09:32:33 kardel -# Release 1993/01/19 DCF77/PPS -# -# Revision 1.1 1992/12/10 12:58:48 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.28 1992/10/28 07:38:09 kardel -# bear.zoo.bt.co.uk now also peer -# -# Revision 1.27 1992/09/17 12:56:22 kardel -# 61 and 62 have ZEROBROADCASTS -# -# Revision 1.26 1992/09/17 12:46:53 kardel -# CIP network broadcasts -# -# Revision 1.25 1992/09/04 12:48:44 kardel -# dcn1 -> churchy -# -# Revision 1.24 1992/08/14 21:42:20 kardel -# local clock is now preferred peer -# -# Revision 1.23 1992/07/17 17:11:51 kardel -# new statistics support -# -# Revision 1.22 1992/07/05 22:41:18 root -# using default module settings now -# -# Revision 1.21 1992/07/02 11:47:26 root -# loop statistics added -# -# Revision 1.20 1992/06/26 07:30:51 kardel -# corrected examples -# -# Revision 1.19 1992/06/18 16:56:05 kardel -# running timed too (startup script magic) -# -# Revision 1.18 1992/06/18 13:58:45 kardel -# precision adjusted (us resolution) -# clock definition explanation -# -# Revision 1.17 1992/06/13 12:49:35 root -# allowed ntps1-1 -# -# Revision 1.16 1992/06/07 11:44:41 kardel -# switch to PPS support for dcf77-0 -# -# Revision 1.15 1992/06/03 14:02:58 kardel -# new version (fausup notrust) -# -# Revision 1.14 1992/05/18 13:49:45 kardel -# first precision update due to kernel patch -# -# Revision 1.13 1992/05/18 13:48:36 kardel -# more updates -# -# Revision 1.12 1992/03/24 08:43:49 kardel -# now trusting netserv.rz.uni-karlsruhe.de -# -# Revision 1.11 1992/03/23 15:03:43 kardel -# sunmanager.lrz-muenchen.de is a peer -# -# Revision 1.10 1992/03/12 22:49:53 kardel -# well, got to switch fudge too -# -# Revision 1.9 1992/03/12 22:47:07 kardel -# adjust for next xntpv3 alpha release -# -# Revision 1.8 1992/02/07 11:07:35 kardel -# switched to Meinberg PZF 535/OCXO -# -# Revision 1.7 1992/01/21 15:11:38 kardel -# netserv & sunmanager must be configured server (botch on other side) -# -# Revision 1.6 1992/01/17 17:54:34 kardel -# added ntps2-0, ntps2-1 to unrestricted list -# -# Revision 1.5 1992/01/10 10:49:03 kardel -# Authentication correction -# -# Revision 1.4 1992/01/10 08:08:06 kardel -# peer apple.com added -# ntps1-1 added to restrictionlist -# -# Revision 1.3 1991/12/19 10:23:56 kardel -# peers on STRATUM 1 -# add mailszrz -# -# Revision 1.2 1991/12/19 09:57:29 kardel -# upgrade NTP V3 -# -# - -# -# Local clock definitions -# -precision -18 # us resolution - -# DCF77 - 0 - REFERENCE CLOCK / Meinberg PZF 535/OCXO -# -# Supported clock types Base -# Meinberg DCF PZF535 TCXO 0 -# Meinberg DCF PZF535 OCXO 16 -# Meinberg DCF U/A 31 32 -# -# Option PPS support (CLOCKDEFS=-DDCF -DDCFPPS) -# PPS 128 -# -# The device to be used is added to the base (16 devices possible -# /dev/dcf77-0 - /dev/dcf77-15) -# -# If PPS support is to be used 128 has to be added to the base -# thus a DCF77 U/A 31 without PPS would be 127.127.8.32 (device 0 - /dev/dcf77-0) -# a DCF77 PZF535/TCXO with PPS would be 127.127.8.129 (device 1 - /dev/dcf77-1) -# a DCF77 PZF535/OCXO with PPS would be 127.127.8.146 (device 2 - /dev/dcf77-2) -# -peer 127.127.8.144 prefer # PZF 535/OCXO / PPS support -# -# We want to provide timed service too, thus (startup script magic) -# TIMED - -# -# Local clock -# -peer 127.127.1.6 # Fall back stratum 6 - -# -# peers - local synch setup -# -peer ntps1-1 key 0 version 2 # to be upgrade to version 3 -peer ntps2-0 key 0 version 2 # to be upgrade to version 3 - -# -# European servers -# -peer sunmanager.lrz-muenchen.de key 0 version 2 -peer iis.ethz.ch version 3 -server netserv.rz.uni-karlsruhe.de version 2 # sorry configuration error on other side -peer rustime01.rus.uni-stuttgart.de version 2 -peer mailszrz.zrz.tu-berlin.de version 2 - -# -# UK servers -# -peer bear.zoo.bt.co.uk version 3 - -# -# US Servers -# -peer apple.com version 2 -server churchy.udel.edu key 0 version 3 - -# -# files / programs -# -driftfile /+private/local/NTP/xntp.drift -resolver /local/NTP/bin/xntpres - -# -# authentication stuff -# -authdelay 0.000076 -requestkey 1007 -controlkey 1006 - -# -# service -# -broadcast 131.188.1.255 key 0 version 2 # revue.revue (still on 2) -broadcast 131.188.34.0 key 0 version 2 # inf4-net1.revue (still on 2) -broadcast 131.188.44.0 key 0 version 2 # inf4-net2.revue (still on 2) -broadcast 131.188.54.255 key 0 version 3 -broadcast 131.188.60.255 key 0 version 3 -broadcast 131.188.61.0 key 0 version 3 -broadcast 131.188.62.0 key 0 version 3 - -# -# Statistics -# -monitor yes -# -# file name prefix -# -statsdir /var/NTP/ -# -# <stat type> file <file name> type <modifier> enable|disable|link|nolink -filegen peerstats file peerstats type day link # generate <statsdir><file>.<YYYYMMDD> and link generic file name (without extension) -filegen loopstats file loopstats type day link -statistics peerstats loopstats # enable statistics - -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -restrict default notrust lowpriotrap nomodify - -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 notrust # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 notrust # allow local hosts -# -restrict 127.127.0.0 mask 255.255.0.0 # local clocks -restrict 127.0.0.1 # localhost does it too -# -restrict 131.188.1.41 mask 255.255.255.255 # ntps1-1 -restrict 131.188.31.1 mask 255.255.255.255 # ntps2-0, ntps2-1 -# -# external trust -# -restrict 130.43.2.2 mask 255.255.255.255 nomodify # apple.com -restrict 129.132.2.60 mask 255.255.255.255 nomodify # iis.ethz.ch -restrict 128.4.1.5 mask 255.255.255.255 nomodify # churchy.udel.edu -restrict 129.13.64.5 mask 255.255.255.255 nomodify # netserv.rz.uni-karlsruhe.de -restrict 129.69.1.153 mask 255.255.255.255 nomodify # rustime01.rus.uni-stuttgart.de -restrict 129.187.10.32 mask 255.255.255.255 nomodify # sunmanager.lrz-muenchen.de -restrict 132.146.40.28 mask 255.255.255.255 nomodify # bear.zoo.bt.co.uk -restrict 130.149.4.11 mask 255.255.255.255 nomodify # mailszrz.zrz.tu-berlin.de diff --git a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4c b/usr.sbin/xntpd/scripts/support/conf/sun4.sun4c deleted file mode 100644 index e1ff90259077..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4c +++ /dev/null @@ -1,63 +0,0 @@ -# -# FAU NTP client configuration file -# -# sun4.sun4c,v 3.1 1993/07/06 01:10:41 jbj Exp -# -# sun4.sun4c,v -# Revision 3.1 1993/07/06 01:10:41 jbj -# XNTP release 3.1 -# -# -# Revision 1.1 1992/12/10 12:58:50 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.2 1992/01/14 14:01:35 kardel -# update for joined INF4/INF1 nets -# -# -# Local fall back clock -# -precision -7 -# -# Local clock -# -peer 127.127.1.13 -# -broadcastclient yes -# broadcastdelay must be figured out - -# -# peers - local synch setup -# -#server ntps1-0 version 3 -#server ntps1-1 version 2 -#server ntps2-0 version 3 -# -# files -# -driftfile /+private/local/NTP/xntp.drift -resolver /local/NTP/bin/xntpres -# -# authentication stuff -# -authdelay 0.000144 # sun4c -controlkey 1006 -requestkey 1007 -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -# -restrict default notrust lowpriotrap nomodify -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.1.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.31.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.40.0 mask 255.255.255.0 # allow local hosts -# -restrict 127.0.0.1 mask 255.255.255.255 # local config -restrict 127.127.0.0 mask 255.255.0.0 # local clocks diff --git a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4c.Lucifer b/usr.sbin/xntpd/scripts/support/conf/sun4.sun4c.Lucifer deleted file mode 100644 index 78d3ea887958..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4c.Lucifer +++ /dev/null @@ -1,174 +0,0 @@ -# -# NTP v3 configuration file for Lucifer -# -# sun4.sun4c.Lucifer,v 3.1 1993/07/06 01:10:42 jbj Exp -# -# sun4.sun4c.Lucifer,v -# Revision 3.1 1993/07/06 01:10:42 jbj -# XNTP release 3.1 -# -# -# Revision 1.2 1993/01/19 09:32:35 kardel -# Release 1993/01/19 DCF77/PPS -# -# Revision 1.1 1992/12/10 12:58:52 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.8 1992/10/28 07:38:09 kardel -# bear.zoo.bt.co.uk now also peer -# -# Revision 1.7 1992/09/17 12:56:22 kardel -# 61 and 62 have ZEROBROADCASTS -# -# Revision 1.6 1992/09/17 12:46:53 kardel -# CIP network broadcasts -# -# Revision 1.5 1992/08/14 21:52:02 kardel -# local clock is now preferred peer -# -# Revision 1.4 1992/07/17 17:15:06 kardel -# adedd new statistics support -# -# Revision 1.3 1992/07/12 16:50:16 kardel -# new peers, restrictions, statistics, no timed -# -# Revision 1.2 1992/07/10 07:01:44 kardel -# authdelay fixed -# -# Revision 1.1 1992/07/10 07:00:30 kardel -# Initial revision -# -# -# -# Local clock definitions -# -precision -18 # us resolution - -# DCF77 - 0 - REFERENCE CLOCK / Meinberg PZF 535/OCXO -# -# Supported clock types Base -# Meinberg DCF PZF535 TCXO 0 -# Meinberg DCF PZF535 OCXO 16 -# Meinberg DCF U/A 31 32 -# ELV DCF7000 48 - -# -# Option PPS support (CLOCKDEFS=-DDCF -DDCFPPS) -# PPS 128 -# -# The device to be used is added to the base (16 devices possible -# /dev/dcf77-0 - /dev/dcf77-15) -# -# If PPS support is to be used 128 has to be added to the base -# thus a DCF77 U/A 31 without PPS would be 127.127.8.32 (device 0 - /dev/dcf77-0) -# a DCF77 PZF535/TCXO with PPS would be 127.127.8.129 (device 1 - /dev/dcf77-1) -# a DCF77 PZF535/OCXO with PPS would be 127.127.8.146 (device 2 - /dev/dcf77-2) -# -peer 127.127.8.144 prefer # PZF 535/OCXO / PPS support -# - -# -# Local clock -# -peer 127.127.1.6 # Fall back stratum 6 - -# -# peers - local synch setup -# -peer ntps1-1 key 0 version 3 -peer ntps1-2 key 0 version 3 -peer ntps2-0 key 0 version 3 - -# -# UK servers -# -peer bear.zoo.bt.co.uk version 3 - -# -# European servers -# -peer sunmanager.lrz-muenchen.de key 0 version 2 -peer iis.ethz.ch version 3 -server netserv.rz.uni-karlsruhe.de version 2 # sorry configuration error on other side -peer rustime01.rus.uni-stuttgart.de version 2 -peer mailszrz.zrz.tu-berlin.de version 2 - -# -# US Servers -# -peer apple.com version 2 -server dcn1.udel.edu key 0 version 3 - -# -# files / programs -# -driftfile /+private/local/NTP/xntp.drift -resolver /local/NTP/bin/xntpres - -# -# authentication stuff -# -authdelay 0.000144 # sun4c -requestkey 1007 -controlkey 1006 - -# -# service -# -broadcast 131.188.1.255 key 0 version 3 # revue.revue (still on 2) -broadcast 131.188.34.0 key 0 version 3 # inf4-net1.revue (still on 2) -broadcast 131.188.44.0 key 0 version 3 # inf4-net2.revue (still on 2) -broadcast 131.188.54.255 key 0 version 3 -broadcast 131.188.60.255 key 0 version 3 -broadcast 131.188.61.0 key 0 version 3 -broadcast 131.188.62.0 key 0 version 3 - -# -# Statistics -# -monitor yes - -# -# file name prefix -# -statsdir /var/NTP/ -# -# <stat type> file <file name> type <modifier> enable|disable|link|nolink -filegen peerstats file peerstats type day link # generate <statsdir><file>.<YYYYMMDD> and link generic file name (without extension) -filegen loopstats file loopstats type day link -statistics peerstats loopstats # enable statistics - -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -restrict default notrust lowpriotrap nomodify - -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 notrust # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 notrust # allow local hosts -# -restrict 127.127.0.0 mask 255.255.0.0 # local clocks -restrict 127.0.0.1 # localhost does it too -# -restrict 131.188.1.45 mask 255.255.255.255 # ntps1-1 -restrict 131.188.34.45 mask 255.255.255.255 # ntps1-1 -restrict 131.188.44.45 mask 255.255.255.255 # ntps1-1 -restrict 131.188.1.31 mask 255.255.255.255 # ntps1-2, ntps2-0, ntps2-1 -restrict 131.188.34.31 mask 255.255.255.255 # ntps1-2, ntps2-0, ntps2-1 -restrict 131.188.44.31 mask 255.255.255.255 # ntps1-2, ntps2-0, ntps2-1 -restrict 131.188.31.1 mask 255.255.255.255 # ntps1-2, ntps2-0, ntps2-1 -# -# external trust -# -restrict 130.43.2.2 mask 255.255.255.255 nomodify # apple.com -restrict 129.132.2.60 mask 255.255.255.255 nomodify # iis.ethz.ch -restrict 128.4.0.1 mask 255.255.255.255 nomodify # dcn1.umd.edu -restrict 129.13.64.5 mask 255.255.255.255 nomodify # netserv.rz.uni-karlsruhe.de -restrict 129.69.1.153 mask 255.255.255.255 nomodify # rustime01.rus.uni-stuttgart.de -restrict 129.187.10.32 mask 255.255.255.255 nomodify # sunmanager.lrz-muenchen.de -restrict 132.146.40.28 mask 255.255.255.255 nomodify # bear.zoo.bt.co.uk -restrict 130.149.4.11 mask 255.255.255.255 nomodify # mailszrz.zrz.tu-berlin.de diff --git a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4m b/usr.sbin/xntpd/scripts/support/conf/sun4.sun4m deleted file mode 100644 index cf1e283cb1fd..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4m +++ /dev/null @@ -1,69 +0,0 @@ -# -# FAU NTP client configuration file -# -# sun4.sun4m,v 3.1 1993/07/06 01:10:43 jbj Exp -# -# sun4.sun4m,v -# Revision 3.1 1993/07/06 01:10:43 jbj -# XNTP release 3.1 -# -# -# Revision 1.1 1992/12/10 12:58:55 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.2 1992/10/05 12:48:44 kardel -# sun4m authdelay -# -# Revision 1.1 1992/10/05 12:48:07 kardel -# Initial revision -# -# Revision 1.2 1992/01/14 14:01:35 kardel -# update for joined INF4/INF1 nets -# -# -# Local fall back clock -# -precision -7 -# -# Local clock -# -peer 127.127.1.13 -# -broadcastclient yes -# broadcastdelay must be figured out - -# -# peers - local synch setup -# -#server ntps1-0 version 3 -#server ntps1-1 version 2 -#server ntps2-0 version 3 -# -# files -# -driftfile /+private/local/NTP/xntp.drift -resolver /local/NTP/bin/xntpres -# -# authentication stuff -# -authdelay 0.000033 # sun4c -controlkey 1006 -requestkey 1007 -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -# -restrict default notrust lowpriotrap nomodify -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.1.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.31.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 # allow local hosts -restrict 131.188.40.0 mask 255.255.255.0 # allow local hosts -# -restrict 127.0.0.1 mask 255.255.255.255 # local config -restrict 127.127.0.0 mask 255.255.0.0 # local clocks diff --git a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4m.faui42 b/usr.sbin/xntpd/scripts/support/conf/sun4.sun4m.faui42 deleted file mode 100644 index acc919c85f2c..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4m.faui42 +++ /dev/null @@ -1,152 +0,0 @@ -# -# NTP v3 configuration file for faui42 -# -# sun4.sun4m.faui42,v 3.1 1993/07/06 01:10:44 jbj Exp -# -# sun4.sun4m.faui42,v -# Revision 3.1 1993/07/06 01:10:44 jbj -# XNTP release 3.1 -# -# -# Revision 1.2 1993/01/19 09:32:36 kardel -# Release 1993/01/19 DCF77/PPS -# -# Revision 1.1 1992/12/10 12:58:57 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.6 1992/09/15 16:19:10 kardel -# preferrred peer -# -# Revision 1.5 1992/09/15 15:57:36 kardel -# Stratum 1 again (may the Patches be with us...) -# -# Revision 1.4 1992/06/30 08:52:38 kardel -# sun4m machine don't have a clock (SunOS4.1.2) -# soory - just Stratum 2 -# -# Revision 1.3 1992/06/18 13:58:45 kardel -# precision adjusted (us resolution) -# clock definition explanation -# -# Revision 1.2 1992/06/13 11:42:49 kardel -# restrictions changed -# -# Revision 1.1 1992/06/13 11:27:11 kardel -# Initial revision -# -# - -# -# Local clock definitions -# -precision -18 # us resolution - -# -# DCF77 - 0 - REFERENCE CLOCK / Meinberg PZF 535/OCXO -# -# Supported clock types Base -# Meinberg DCF PZF535 TCXO 0 -# Meinberg DCF PZF535 OCXO 16 -# Meinberg DCF U/A 31 32 -# -# Option PPS support (CLOCKDEFS=-DDCF -DDCFPPS) -# PPS 128 -# -# The device to be used is added to the base (16 devices possible -# /dev/dcf77-0 - /dev/dcf77-15) -# -# If PPS support is to be used 128 has to be added to the base -# thus a DCF77 U/A 31 without PPS would be 127.127.8.32 (device 0 - /dev/dcf77-0) -# a DCF77 PZF535/TCXO with PPS would be 127.127.8.129 (device 1 - /dev/dcf77-1) -# a DCF77 PZF535/OCXO with PPS would be 127.127.8.146 (device 2 - /dev/dcf77-2) -# -peer 127.127.8.144 prefer # PZF 535/OCXO / PPS support -# -# Local clock -# -peer 127.127.1.6 # Fall back stratum 6 - -# -# peers - local synch setup -# -peer ntps1-0 key 0 version 2 # to be upgrade to version 3 -peer ntps2-0 key 0 version 2 # to be upgrade to version 3 - -# -# European servers -# -peer sunmanager.lrz-muenchen.de key 0 version 2 -peer iis.ethz.ch version 3 -#server netserv.rz.uni-karlsruhe.de version 2 # sorry configuration error on other side -peer rustime01.rus.uni-stuttgart.de version 2 -#peer mailszrz.zrz.tu-berlin.de version 2 - -# -# US Servers -# -#peer apple.com version 2 -#server dcn1.udel.edu key 0 version 3 - -# -# files / programs -# -driftfile /+private/local/NTP/xntp.drift -resolver /local/NTP/bin/xntpres - -# -# authentication stuff -# -authdelay 0.000047 -requestkey 1007 -controlkey 1006 - -# -# service -# -broadcast 131.188.1.255 key 0 version 3 # revue.revue (still on 2) -broadcast 131.188.40.0 key 0 version 3 # inf4-net2.revue (still on 2) - -# -# Statistics -# -monitor yes - -# -# file name prefix -# -statsdir /var/NTP/ -# -# <stat type> file <file name> type <modifier> enable|disable|link|nolink -filegen peerstats file peerstats type day link # generate <statsdir><file>.<YYYYMMDD> and link generic file name (without extension) -filegen loopstats file loopstats type day link -statistics peerstats loopstats # enable statistics - -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -restrict default notrust lowpriotrap nomodify - -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.40.0 mask 255.255.255.0 nomodify # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 nomodify # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 nomodify # allow local hosts -restrict 131.188.31.0 mask 255.255.255.0 nomodify # allow local hosts -restrict 131.188.1.0 mask 255.255.255.0 nomodify # allow local hosts -# -restrict 127.127.0.0 mask 255.255.0.0 # local clocks -restrict 127.0.0.1 # localhost does it too -# -# -# external trust -# -restrict 130.43.2.2 mask 255.255.255.255 nomodify # apple.com -restrict 129.132.2.60 mask 255.255.255.255 nomodify # iis.ethz.ch -restrict 128.4.0.1 mask 255.255.255.255 nomodify # dcn1.umd.edu -restrict 129.13.64.5 mask 255.255.255.255 nomodify # netserv.rz.uni-karlsruhe.de -restrict 129.69.1.153 mask 255.255.255.255 nomodify # rustime01.rus.uni-stuttgart.de -restrict 129.187.10.32 mask 255.255.255.255 nomodify # sunmanager.lrz-muenchen.de -restrict 130.149.4.11 mask 255.255.255.255 nomodify # mailszrz.zrz.tu-berlin.de diff --git a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4m.faui45m b/usr.sbin/xntpd/scripts/support/conf/sun4.sun4m.faui45m deleted file mode 100644 index 2c75f67545f0..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/sun4.sun4m.faui45m +++ /dev/null @@ -1,165 +0,0 @@ -# -# NTP v3 configuration file for Lucifer -# -# sun4.sun4m.faui45m,v 3.1 1993/07/06 01:10:45 jbj Exp -# -# sun4.sun4m.faui45m,v -# Revision 3.1 1993/07/06 01:10:45 jbj -# XNTP release 3.1 -# -# -# Revision 1.2 1993/01/19 09:32:38 kardel -# Release 1993/01/19 DCF77/PPS -# -# Revision 1.1 1992/12/10 12:58:59 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.7 1992/09/17 12:56:22 kardel -# 61 and 62 have ZEROBROADCASTS -# -# Revision 1.6 1992/09/17 12:46:53 kardel -# CIP network broadcasts -# -# Revision 1.5 1992/08/14 21:52:02 kardel -# local clock is now preferred peer -# -# Revision 1.4 1992/07/17 17:15:06 kardel -# adedd new statistics support -# -# Revision 1.3 1992/07/12 16:50:16 kardel -# new peers, restrictions, statistics, no timed -# -# Revision 1.2 1992/07/10 07:01:44 kardel -# authdelay fixed -# -# Revision 1.1 1992/07/10 07:00:30 kardel -# Initial revision -# -# -# -# Local clock definitions -# -precision -18 # us resolution - -# DCF77 - 0 - REFERENCE CLOCK / Meinberg PZF 535/OCXO -# -# Supported clock types Base -# Meinberg DCF PZF535 TCXO 0 -# Meinberg DCF PZF535 OCXO 16 -# Meinberg DCF U/A 31 32 -# ELV DCF7000 48 - -# -# Option PPS support (CLOCKDEFS=-DDCF -DDCFPPS) -# PPS 128 -# -# The device to be used is added to the base (16 devices possible -# /dev/dcf77-0 - /dev/dcf77-15) -# -# If PPS support is to be used 128 has to be added to the base -# thus a DCF77 U/A 31 without PPS would be 127.127.8.32 (device 0 - /dev/dcf77-0) -# a DCF77 PZF535/TCXO with PPS would be 127.127.8.129 (device 1 - /dev/dcf77-1) -# a DCF77 PZF535/OCXO with PPS would be 127.127.8.146 (device 2 - /dev/dcf77-2) -# -peer 127.127.8.144 prefer # PZF 535/OCXO / PPS support -# - -# -# Local clock -# -peer 127.127.1.6 # Fall back stratum 6 - -# -# peers - local synch setup -# -peer ntps1-1 key 0 version 3 -peer ntps1-2 key 0 version 3 -peer ntps2-0 key 0 version 3 - -# -# European servers -# -peer sunmanager.lrz-muenchen.de key 0 version 2 -peer iis.ethz.ch version 3 -server netserv.rz.uni-karlsruhe.de version 2 # sorry configuration error on other side -peer rustime01.rus.uni-stuttgart.de version 2 -peer mailszrz.zrz.tu-berlin.de version 2 - -# -# US Servers -# -peer apple.com version 2 -server dcn1.udel.edu key 0 version 3 - -# -# files / programs -# -driftfile /+private/local/NTP/xntp.drift -resolver /local/NTP/bin/xntpres - -# -# authentication stuff -# -authdelay 0.000033 # sun4m -requestkey 1007 -controlkey 1006 - -# -# service -# -broadcast 131.188.1.255 key 0 version 3 # revue.revue (still on 2) -broadcast 131.188.34.0 key 0 version 3 # inf4-net1.revue (still on 2) -broadcast 131.188.44.0 key 0 version 3 # inf4-net2.revue (still on 2) -broadcast 131.188.54.255 key 0 version 3 -broadcast 131.188.60.255 key 0 version 3 -broadcast 131.188.61.0 key 0 version 3 -broadcast 131.188.62.0 key 0 version 3 - -# -# Statistics -# -monitor yes - -# -# file name prefix -# -statsdir /var/NTP/ -# -# <stat type> file <file name> type <modifier> enable|disable|link|nolink -filegen peerstats file peerstats type day link # generate <statsdir><file>.<YYYYMMDD> and link generic file name (without extension) -filegen loopstats file loopstats type day link -statistics peerstats loopstats # enable statistics - -# -# restrictions -# -# provide cheap services to the world/ prevent modifications from there -restrict default notrust lowpriotrap nomodify - -# -# hosts on the local networks are allowed unrestricted access -# -restrict 131.188.0.0 mask 255.255.0.0 nomodify notrust # allow local hosts -restrict 131.188.34.0 mask 255.255.255.0 notrust # allow local hosts -restrict 131.188.44.0 mask 255.255.255.0 notrust # allow local hosts -# -restrict 127.127.0.0 mask 255.255.0.0 # local clocks -restrict 127.0.0.1 # localhost does it too -# -restrict 131.188.1.45 mask 255.255.255.255 # ntps1-1 -restrict 131.188.34.45 mask 255.255.255.255 # ntps1-1 -restrict 131.188.44.45 mask 255.255.255.255 # ntps1-1 -restrict 131.188.1.31 mask 255.255.255.255 # ntps1-2, ntps2-0, ntps2-1 -restrict 131.188.34.31 mask 255.255.255.255 # ntps1-2, ntps2-0, ntps2-1 -restrict 131.188.44.31 mask 255.255.255.255 # ntps1-2, ntps2-0, ntps2-1 -restrict 131.188.31.1 mask 255.255.255.255 # ntps1-2, ntps2-0, ntps2-1 -# -# external trust -# -restrict 130.43.2.2 mask 255.255.255.255 nomodify # apple.com -restrict 129.132.2.60 mask 255.255.255.255 nomodify # iis.ethz.ch -restrict 128.4.0.1 mask 255.255.255.255 nomodify # dcn1.umd.edu -restrict 129.13.64.5 mask 255.255.255.255 nomodify # netserv.rz.uni-karlsruhe.de -restrict 129.69.1.153 mask 255.255.255.255 nomodify # rustime01.rus.uni-stuttgart.de -restrict 129.187.10.32 mask 255.255.255.255 nomodify # sunmanager.lrz-muenchen.de -restrict 130.149.4.11 mask 255.255.255.255 nomodify # mailszrz.zrz.tu-berlin.de diff --git a/usr.sbin/xntpd/scripts/support/conf/tickconf b/usr.sbin/xntpd/scripts/support/conf/tickconf deleted file mode 100644 index b17dbe834743..000000000000 --- a/usr.sbin/xntpd/scripts/support/conf/tickconf +++ /dev/null @@ -1,19 +0,0 @@ -DEFAULT -A -p -s -q -Lucifer 55406cfa -a 1 -p -s -q -t 10001 -faui45 24000f9b -a 1 -p -s -q -faui10 2440213c -a 1 -p -s -q -faui1b 54001418 -A -p -s -q -t 10001 -faui4p 5100344d -A -p -s -q -t 9999 -faui02g 1200be20 -A -p -s -q -t 9999 -faui02e 1200bbab -A -p -s -q -t 9999 -faui02f 1200bedb -A -p -s -q -t 9999 -faui03b 1200b92b -A -p -s -q -t 9999 -faui45m 726001ac -A -p -s -q -t 10001 -faui45o 72600272 -A -p -s -q -t 10001 -faui45p 7260028f -A -p -s -q -t 10001 -faui45r 72400cc7 -A -p -s -q -t 10001 -faui45s 726045be -A -p -s -q -t 10001 -faui45v 72604487 -A -p -s -q -t 10001 -faui45x 726044eb -A -p -s -q -t 10001 -faui45y 7260476d -A -p -s -q -t 10001 -faui45z 726045a1 -A -p -s -q -t 10001 diff --git a/usr.sbin/xntpd/scripts/support/etc/cron b/usr.sbin/xntpd/scripts/support/etc/cron deleted file mode 100755 index 07ed18949835..000000000000 --- a/usr.sbin/xntpd/scripts/support/etc/cron +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# -# cron,v 3.1 1993/07/06 01:10:50 jbj Exp -# -# called by cron for statistics gathering -# -# cron,v -# Revision 3.1 1993/07/06 01:10:50 jbj -# XNTP release 3.1 -# -# -# Revision 1.1 1992/12/10 12:59:18 kardel -# Prerelease NTP V3 / DCF -# -# -PATH="${PATH}:/local/NTP/bin" -export PATH -monl -d /local/NTP/monitor -i '127\.0\.0\.1' faui10 faui45 lucifer rackety.udel.edu diff --git a/usr.sbin/xntpd/scripts/support/etc/crontab b/usr.sbin/xntpd/scripts/support/etc/crontab deleted file mode 100644 index 2b2d19ced76c..000000000000 --- a/usr.sbin/xntpd/scripts/support/etc/crontab +++ /dev/null @@ -1,8 +0,0 @@ -# -# NTP statistics periodic cleanup - REFERENCE SERVER ONLY -# -#55 23 * * * sh /local/NTP/etc/mvstats -# -# gather NTP client statistics - REFERENCE SERVER ONLY -# -0 8,18 * * * /local/NTP/etc/cron 2>/dev/null | /usr/ucb/mail -s "NTP statistics" time@informatik.uni-erlangen.de diff --git a/usr.sbin/xntpd/scripts/support/etc/install b/usr.sbin/xntpd/scripts/support/etc/install deleted file mode 100755 index 169a7e5a06d7..000000000000 --- a/usr.sbin/xntpd/scripts/support/etc/install +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh -# -# install,v 3.1 1993/07/06 01:10:53 jbj Exp -# -# install,v -# Revision 3.1 1993/07/06 01:10:53 jbj -# XNTP release 3.1 -# -# -# Revision 1.1 1992/12/10 12:59:21 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.1 1992/06/18 14:50:08 kardel -# Initial revision -# -# -NTPROOT=/local/NTP # SITE SPECIFIC: where NTP resides -# -# where the local NTP state files reside (xntp.drift) ussualle /etc -# this directory must not be shared as machine dependent data ist stored there -# -NTPDIR="/+private/local/NTP" -# -# get the initial setup -# -if [ ! -r $NTPROOT/etc/setup ]; then - echo "ERROR: $NTPROOT/etc/setup missing - incorrect installation." - exit 1 -else - . $NTPROOT/etc/setup -fi - -umask 022 # SITE SPECIFIC: local policy - watch out for NFS and "root" rights - -Mkdir() { - p="" - IFS="/" - set -- $@ - IFS=' -' - for pnc do - if [ ! -d "$p/$pnc" ]; then - ECHO -n "creating directory $p/$pnc" - if mkdir "$p/$pnc"; then - ECHO "" - else - ECHO " - FAILED" - break; - fi - fi - p="$p/$pnc" - done -} - -if [ ! -d "$NTPDIR" ]; then - ECHO "installing NTP private data area ($NTPDIR)" - if Mkdir "$NTPDIR"; then - chmod 755 "$NTPDIR" - ECHO "$NTPDIR created." - fi -else - ECHO "NTP already installed." - if [ -f "$NTPDIR/xntp.drift" ]; then - ECHO "currently saved drift value:" `cat "$NTPDIR/xntp.drift"` - fi -fi - diff --git a/usr.sbin/xntpd/scripts/support/etc/rc b/usr.sbin/xntpd/scripts/support/etc/rc deleted file mode 100755 index ef8834a69f7b..000000000000 --- a/usr.sbin/xntpd/scripts/support/etc/rc +++ /dev/null @@ -1,198 +0,0 @@ -#!/bin/sh -# NTP time synchronisation -# -# /src/NTP/REPOSITORY/v3/supportscripts/etc/rc,v 1.11 1993/07/09 13:17:00 kardel Exp -# -# rc,v -# Revision 1.11 1993/07/09 13:17:00 kardel -# local NTPROOT -# -# Revision 1.10 1993/07/09 11:37:29 kardel -# Initial restructured version + GPS support -# -# Revision 1.9 1993/06/23 14:10:36 kardel -# June 21st reconcilation -# -# Revision 1.7 1993/06/02 12:04:43 kardel -# May 28th reconcilation & clenaup -# -# -# non reference clock hosts will try to do an ntpdate on NTPSERVERS -# -NTPSERVERS="ntps1-0 ntps1-1 ntps2-0 ntps2-1" -NTPROOT=/local/NTP - -# -# get the initial setup -# -if [ ! -r $NTPROOT/etc/setup ]; then - echo "ERROR: $NTPROOT/etc/setup missing - incorrect installation." - exit 1 -else - . $NTPROOT/etc/setup -fi - -umask 022 # SITE SPECIFIC: local policy - watch out for NFS and "root" rights - -msg="" -# -# default configuration files are named $NTPROOT/conf/<ARCH>.<KARCH> -# -CF=$NTPROOT/conf/$ARCH.$KARCH # default configuration file -# -# Host specific config file (reference clocks) have the hostname tagged on -# -CFH="$CF"."$HOSTNAME" # specific configuration file -# -# where to find the tickadj command -# -KFIX=$NTPROOT/bin/tickadj # kernel variable fix -# -# where to find special tickadj parameters -# -TC=$NTPROOT/conf/tickconf # special tickadj parameters -# -# where to find the keys file (if not found $KEY.dumb will be used) -# -KEY=$NTPROOT/conf/ntp.keys # private key file -# -# the daemon -# -XD=$NTPROOT/bin/xntpd # NTP daemon -# -# HP adjtimed -# -ADJTIMED=$NTPROOT/bin/adjtimed # HP special (adjtime() emulation) -# -# ntpdate command -# -NTPDATE=$NTPROOT/bin/ntpdate - -# -# secondary timed support -# The word "TIMED" must be in the config file for timed to start -# Note that this times is a special version which does not ever set or -# adjust the time. Ask time@informatik.uni-erlangen.de for patches -# -TIMED=$NTPROOT/bin/timed # timed (Berkeley) secondary time service - # here used in a *HARMLESS* version - # to provide time to "inferior" systems -# -# ISREFHOST is a command that returns exit status 0 for a reference host -# Site specific: sample for dcf77 is given -# -ISREFHOST="[ -f $NTPROOT/.karch.$KARCH/sys/OBJ/parsestreams.o -a -f /dev/refclock-0 ]" -# -# SETUP_REFCLOCK -# -# what to do in order to set up a local reference clock -# usually this will load a STREAMS module or initialize other things -# needed -# -SETUP_REFCLOCK() { - if modstat | grep -s 'PARSE'; then - ECHO "loadable PARSER STREAMS module already loaded." - else - ECHO "attempting to load PARSER STREAMS module..." - MDLFILE="/tmp/mdl.$$" - if modload $NTPROOT/.karch.$KARCH/sys/OBJ/parsestreams.o -o $MDLFILE 2>&1; then - modstat - else - echo WARNING: load FAILED - fi | LOG - rm -f $MDLFILE - unset MDLFILE - fi -} - -kargs() { - MATCH=NO - HOSTID="`(hostid) 2>/dev/null || echo 000000`" - if [ -r "$TC" ]; then - exec 0< "$TC" - while [ "$MATCH" != "YES" ] && read HOST ID PARAM; do - if [ "$HOST" = "DEFAULT" ]; then - DEFAULT="$ID $PARAM" - else - if [ "$ID" = "$HOSTID" -o "$HOST" = "$HOSTNAME" ]; then - echo "$PARAM" - MATCH=YES - fi - fi - done - if [ "$MATCH" != "YES" ]; then - if [ -z "$DEFAULT" ]; then - echo "-A -p -s -q"; - else - echo "$DEFAULT"; - fi - fi - else - echo "-A -p -s -q"; - fi -} - -if [ -x $XD ]; then - if [ -x "$ADJTIMED" ]; then - $ADJTIMED && ECHO "adjusttimesupport: adjtimed." - fi - # - # WARNING: check ps command first, or you might kill things you don't want to - # - PID="`(ps -efa 2>/dev/null || ps auxww 2>/dev/null || echo "") | grep xntp | grep -v grep | awk '{ print $2 }'`" - - if [ ! -z "$PID" ]; then - ECHO "killing old NTP daemon (PID=$PID)" - # - # enable this after checking for correctness - # kill $PID - ECHO "should do a kill $PID, if this is the right PID - check rc script" - fi - # - # try an ntpdate when timeservers are configured - # - if [ ! -z "$NTPSERVERS" -a -x $NTPDATE ]; then - ECHO "NTP initial time setting" - $NTPDATE -v $NTPSERVERS | LOG - fi - # - # look for reference clock equipment - # - if $ISREFHOST; then - ECHO "REFERENCE CLOCK SUPPORT (initializing...)" - SETUP_REFCLOCK - fi - - if [ -r "$CFH" ]; then - CF="$CFH" - else - if [ ! -r "$KEY" ]; then - KEY="$KEY.dumb" - fi - fi - - ECHO "NTP configuration file: $CF" - ECHO -n "time daemon startup:" - - if [ -r "$CF" ]; then - if [ -x "$KFIX" ]; then - KARGS="`kargs`" - if [ ! -z "$KARGS" ]; then - $KFIX $KARGS && ECHO -n "tickadj $KARGS" - fi - fi - $XD -c "$CF" -k "$KEY" && ECHO -n ' xntpd' - if [ -x "$TIMED" ] && grep -s TIMED "$CF"; then - $TIMED -M -N && ECHO -n ' timed' - fi - else - msg="configuration file ($CF) not present." - fi -else - msg="daemon binary ($XD) not present." -fi -ECHO "." - -if [ "$msg" ]; then - NLECHO "WARNING: NO NTP time sychronisation: $msg" -fi diff --git a/usr.sbin/xntpd/scripts/support/etc/setup b/usr.sbin/xntpd/scripts/support/etc/setup deleted file mode 100755 index d4ea75ecfaa9..000000000000 --- a/usr.sbin/xntpd/scripts/support/etc/setup +++ /dev/null @@ -1,72 +0,0 @@ -# -# setup,v 3.1 1993/07/06 01:10:55 jbj Exp -# -# /bin/sh sourced file for environment setup -# expects NTPROOT variable initialized -# -# if not set it will be initialized to /usr/local/NTP -# -# setup,v -# Revision 3.1 1993/07/06 01:10:55 jbj -# XNTP release 3.1 -# -# -# Revision 1.1 1992/12/10 12:59:25 kardel -# Prerelease NTP V3 / DCF -# -# Revision 1.1 1992/12/10 10:14:46 kardel -# Initial revision -# -# -NTPROOT=${NTPROOT-/usr/local/NTP} - -# -# we so use our own echos, as we somes want to substitute them with a -# file logging version durin the /etc/rc.local phase -# -set `type ECHO` - -PATH="${PATH}:$NTPROOT/bin" -export PATH - -if [ "$2" = "is" ]; then - : -else - # - # find out the way echos work (Rest of rc thinks BSD echo) - # - ECHOREP="`echo -n x`" - if [ "$ECHOREP" = "-n x" ]; then - ECHO () { - if [ "$1" = "-n" ]; then - shift - echo "$@\c" - else - echo "$@" - fi - } - #ECHO "System V style echo" - else - ECHO () { - echo "$@" - } - #ECHO "BSD style echo" - fi - - NLECHO () { - echo "$@" - } - - LOG () { - while read _line; do - ECHO "$_line" - done - } - # - # carefully find out some configuration Variables - # - ARCH="`(arch) 2>/dev/null || ((uname) > /dev/null && uname -a | awk '{ print $6; }') 2>/dev/null || echo 'no-arch'`" - KARCH="`(arch -k) 2>/dev/null || ((uname) > /dev/null && uname -a | awk '{ print $5 }') || echo 'no-arch'`" - HOSTNAME="`(hostname) 2>/dev/null || uname -n`" -fi - |