* Re: RH 4.2 ARC clock not GMT :-(
[not found] <199706191510.LAA26811@linux03.amt.tay1.dec.com>
@ 1997-06-19 20:08 ` Harald Koenig
0 siblings, 0 replies; 2+ messages in thread
From: Harald Koenig @ 1997-06-19 20:08 UTC (permalink / raw)
On Jun 19, jestabro@amt.tay1.dec.com wrote:
>
> >>> Harald Koenig said:
> >
> > ARC=0
> > UTC=0
> > if [ -f /etc/sysconfig/clock ]; then
> > . /etc/sysconfig/clock
>
> And this, combined with a new /etc/sysconfig/clock contents that sets
> either or both of ARC and UTC, it *should* all just work...
>
> My /etc/sysconfig/clock has:
>
> UTC=false
> ARC=true
you're right! I didn't notice that /etc/sysconfig/clock is read after
UTC and ARC are initialized, so that I can change them in the clock config file
(only thought of them as local variables, sigh). thanks for the hint...
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* RH 4.2 ARC clock not GMT :-(
@ 1997-06-19 9:57 Harald Koenig
0 siblings, 0 replies; 2+ messages in thread
From: Harald Koenig @ 1997-06-19 9:57 UTC (permalink / raw)
in /etc/rc.d/rc.sysinit the following code still doesn't allow
to use ARC clocks running at GMT
ARC=0
UTC=0
if [ -f /etc/sysconfig/clock ]; then
. /etc/sysconfig/clock
# convert old style clock config to new values
if [ "${CLOCKMODE}" = "GMT" ]; then
UTC=true
elif [ "${CLOCKMODE}" = "ARC" ]; then
ARC=true
fi
fi
because "${CLOCKMODE}" can't be both "ARC" and "GMT" at the same time :-(
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-06-19 20:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199706191510.LAA26811@linux03.amt.tay1.dec.com>
1997-06-19 20:08 ` RH 4.2 ARC clock not GMT :-( Harald Koenig
1997-06-19 9:57 Harald Koenig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox