aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/xntpd/patches/patch.29
blob: ee161a2baa253c1028baf0ef3fa498f6264e79e1 (plain) (blame)
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

Received: from louie.udel.edu by huey.udel.edu id aa24239; 16 Mar 94 18:01 EST
Received: from faui45.informatik.uni-erlangen.de by louie.udel.edu id aa18720;
          16 Mar 94 17:57 EST
Received: from faui43.informatik.uni-erlangen.de by uni-erlangen.de with SMTP;
	id AA25324 (5.65c-6/7.3v-FAU); Wed, 16 Mar 1994 23:57:39 +0100
Received: from faui45x.informatik.uni-erlangen.de by immd4.informatik.uni-erlangen.de with SMTP;
	id AA18230 (5.65c-6/7.3m-FAU); Wed, 16 Mar 1994 23:57:37 +0100
From: Frank Kardel <Frank.Kardel@informatik.uni-erlangen.de>
Message-Id: <199403162257.AA18230@faui43.informatik.uni-erlangen.de>
Subject: hpadjtime.sh
To: mills@udel.edu, ken@sdd.hp.com
Date: Wed, 16 Mar 94 23:57:32 MET
Return-Receipt-To: "Frank Kardel" <Frank.Kardel@informatik.uni-erlangen.de>
X-Mailer: ELM [version 2.3 PL11]

Hi, 3.3n is somewhat broken...

First of all
	- scripts/hpadjtime.sh is missing (it's in patch.28)

And
	- scripts/hpadjtime.sh is broken for non hp-ux
	  (will try to build adjtime libs on non hp-ux architectures
	   as a default value was no set)

Please use this version of scripts/hpadjtime.sh for increased safety:

#! /bin/sh
val=1
if [ -f /bin/uname -o -f /usr/bin/uname ]; then
	set `uname -a | tr '[A-Z]' '[a-z]'`
	case "$1" in
		hp-ux)  case "$3" in
			*.10.*) val=1 ;;
			*.09.03) case "$5" in
				9000/3*) val=1 ;;
				*)       val=0 ;;
				esac ;;
			*) val=0 ;;
			esac
			;;
	*)
	esac
fi
exit $val
	  
-- 
	   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!