Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: PC164 - 3C509 broadcasting and set time problems
Date: Mon, 3 Mar 1997 14:51:24 -0700 (MST)	[thread overview]
Message-ID: <30530370951efa009c34339c55fdb1d0.axp-list@archive.invalid> (raw)
In-Reply-To: <199703031931.OAA05267@rrdjazz.nist.gov>

> 
> 
>    The RedHat install process gives two choices
>    with respect to setting system time.
>    Which one is appropriate for a PC164?
> 
> I think that all ARC-based systems (including PC164) must use GMT-based
> time: the logic of setting time in /etc/rc.d/rc.sysinit is 
>     if [ ${CLOCKMODE} = "GMT" ]; then
>             clock -u -a
>     else
>         if [ ${CLOCKMODE} = "ARC" ]; then
>             clock -A -a -u
>         else
>             clock -a
>         fi
>     fi
> Therefore, teh /etc/sysconfig/clock must be "CLOCKMODE="ARC"
> and the ARC time should be set to GMC/Universal time.

The above is correct if you do no want touch provided scripts, but
"must" is a bit too strong.  Another option is to edit obviously
buggy script if you are not using UTC for your time base.
In general the stuff above should read somewhat like that:

     if [ ${CLOCKBASE} = "GMT" ]; then
           GMT=" -u"
     else
           GMT=""
     fi
     if [ ${CLOCKMODE} = "ARC" ]; then
           clock -A -a $GMT
     else
           clock -a $GMT
     fi

but this requires changes in a setup process. ARC mode and GMT mode
are independent.

  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  reply	other threads:[~1997-03-03 21:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-03 19:31 PC164 - 3C509 broadcasting and set time problems Przemek Klosowski
1997-03-03 21:51 ` Michal Jaegermann [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-03-04  3:15 Przemek Klosowski
1997-03-03 20:10 Robert Williams
1997-03-03 19:05 Robert Williams
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox