3 # install,v 3.1 1993/07/06 01:10:53 jbj Exp
6 # Revision 3.1 1993/07/06 01:10:53 jbj
10 # Revision 1.1 1992/12/10 12:59:21 kardel
11 # Prerelease NTP V3 / DCF
13 # Revision 1.1 1992/06/18 14:50:08 kardel
17 NTPROOT=/local/NTP # SITE SPECIFIC: where NTP resides
19 # where the local NTP state files reside (xntp.drift) ussualle /etc
20 # this directory must not be shared as machine dependent data ist stored there
22 NTPDIR="/+private/local/NTP"
24 # get the initial setup
26 if [ ! -r $NTPROOT/etc/setup ]; then
27 echo "ERROR: $NTPROOT/etc/setup missing - incorrect installation."
33 umask 022 # SITE SPECIFIC: local policy - watch out for NFS and "root" rights
42 if [ ! -d "$p/$pnc" ]; then
43 ECHO -n "creating directory $p/$pnc"
44 if mkdir "$p/$pnc"; then
55 if [ ! -d "$NTPDIR" ]; then
56 ECHO "installing NTP private data area ($NTPDIR)"
57 if Mkdir "$NTPDIR"; then
59 ECHO "$NTPDIR created."
62 ECHO "NTP already installed."
63 if [ -f "$NTPDIR/xntp.drift" ]; then
64 ECHO "currently saved drift value:" `cat "$NTPDIR/xntp.drift"`