summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/patches/patch.21
blob: 9299971309099cd9310633175903b5d31dde73f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

Received: from louie.udel.edu by huey.udel.edu id aa25363; 23 Feb 94 18:50 EST
Received: from faui45.informatik.uni-erlangen.de by louie.udel.edu id aa28210;
          23 Feb 94 18:44 EST
Received: from faui43.informatik.uni-erlangen.de by uni-erlangen.de with SMTP;
	id AA07903 (5.65c-6/7.3v-FAU); Thu, 24 Feb 1994 00:44:18 +0100
Received: from faui45x.informatik.uni-erlangen.de by immd4.informatik.uni-erlangen.de with SMTP;
	id AA19013 (5.65c-6/7.3m-FAU); Thu, 24 Feb 1994 00:44:17 +0100
From: Frank Kardel <Frank.Kardel@informatik.uni-erlangen.de>
Message-Id: <199402232344.AA19013@faui43.informatik.uni-erlangen.de>
Subject: TRAK clock
To: mills@udel.edu
Date: Thu, 24 Feb 94 0:44:12 MET
X-Mailer: ELM [version 2.3 PL11]

Hi, Dave - some obvious things about the TRAK clock:
	- please removed the 4 ^A at the end of the
	  xntpd/reflock_trak.c file (email leftovers).
	- add following refclocks/rclk.TRAK file

#!/bin/sh -
CMD="$1"
shift;

. refclocks/setup

case "$CMD" in
  info)
	echo "	TRAK		- TRAK 8810 GPS station clock"
	;;
  check)
	if check "$RCONFIG" '$0 ~ /TRAK/'; then
	  echo "TRAK		- TRAK 8810 GPS station clock"
	fi
	;;
  config)
	if check "$REFCONF" '$0 ~ /TRAK/' ||
	   ( [ ! "$REFCONF" ] && query "Include TRAK 8810 GPS station clock (TRAK)" n); then
          if check "$PPSFEATURES" '$0 ~ /CD/' &&
	     [ "$PPSOK" -eq 1 ] &&
	     (check "$REFCONF" '$0 ~ /TRAKPPS/' ||
	     ( [ ! "$REFCONF" ] && query "	Use TRAK for PPS" n)); then
		echo "-DTRAKPPS" >> $RCONFIG
          else
	    echo "-DTRAK" >> $RCONFIG
          fi
	fi
	;;
esac
-- 
	   Frank Kardel (kardel@informatik.uni-erlangen.de)
    All SCSI disks will from now on be required to send an email
         notice 24 hours prior to complete hardware failure!

OpenPOWER on IntegriCloud