head	1.2;
access;
symbols
	RELENG_3_5_0_RELEASE:1.1.1.1
	RELENG_3_4_0_RELEASE:1.1.1.1
	RELENG_3_3_0_RELEASE:1.1.1.1
	RELENG_3_2_PAO:1.1.1.1.0.14
	RELENG_3_2_PAO_BP:1.1.1.1
	RELENG_3_2_0_RELEASE:1.1.1.1
	RELENG_3_1_0_RELEASE:1.1.1.1
	RELENG_3:1.1.1.1.0.12
	RELENG_3_BP:1.1.1.1
	RELENG_2_2_8_RELEASE:1.1.1.1
	RELENG_3_0_0_RELEASE:1.1.1.1
	RELENG_2_2_7_RELEASE:1.1.1.1
	RELENG_2_2_6_RELEASE:1.1.1.1
	RELENG_2_2_5_RELEASE:1.1.1.1
	RELENG_2_2_2_RELEASE:1.1.1.1
	RELENG_2_2_1_RELEASE:1.1.1.1
	RELENG_2_2_0_RELEASE:1.1.1.1
	RELENG_2_1_7_RELEASE:1.1.1.1
	RELENG_2_1_6_1_RELEASE:1.1.1.1
	RELENG_2_1_6_RELEASE:1.1.1.1
	RELENG_2_2:1.1.1.1.0.10
	RELENG_2_2_BP:1.1.1.1
	RELENG_2_1_5_RELEASE:1.1.1.1
	RELENG_2_1_0_RELEASE:1.1.1.1
	RELENG_2_1_0:1.1.1.1.0.8
	RELENG_2_1_0_BP:1.1.1.1
	RELENG_2_0_5_RELEASE:1.1.1.1
	RELENG_2_0_5:1.1.1.1.0.6
	RELENG_2_0_5_BP:1.1.1.1
	RELENG_2_0_5_ALPHA:1.1.1.1
	RELEASE_2_0:1.1.1.1
	BETA_2_0:1.1.1.1
	ALPHA_2_0:1.1.1.1.0.4
	xntp_3_4e:1.1.1.1
	MOVED_NEWCVS:1.1.1.1
	FINAL_1_1_5:1.1.1.1
	ALPHA_1_1_5:1.1.1.1
	FINAL_1_1:1.1.1.1
	GAMMA_1_1:1.1.1.1
	xntp_3_3s:1.1.1.1
	udel_3_3p:1.1.1.1
	udel:1.1.1
	BETA_1_1:1.1.1.1.0.2
	BP_BETA_1_1:1.1.1.1
	UDEL_33Z:1.1.1.1
	UDEL_33B:1.1.1.1
	UDEL:1.1.1;
locks; strict;
comment	@# @;


1.2
date	99.12.22.15.24.18;	author roberto;	state dead;
branches;
next	1.1;

1.1
date	93.12.21.18.36.40;	author wollman;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.12.21.18.36.41;	author wollman;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Bye bye xntpd.
@
text
@#!/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

@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@xntpd 3.3b from UDel
@
text
@@
