Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: VDR shutdown problem
> -----Original Message-----
> From: vdr-bounce@linuxtv.org [mailto:vdr-bounce@linuxtv.org]On Behalf Of
> Martin Geistreiter
> Sent: Wednesday, September 18, 2002 9:14 PM
> To: vdr@linuxtv.org
> Subject: [vdr] AW: Re: AW: Re: AW: VDR shutdown problem
>
>
>
>
> MG>
> MG> >if that's the case, you should
> MG> > 1. ensure that your hardware clock is running correct time
> MG> > 2. choose one transponder, which you trust about time and set it
> MG> > soemwhere in the setup
> MG>
> MG> >btw.: use -l option, if you want nvram-wakeup to redirect all
> output
> MG> >to /var/log/messages
> MG>
> MG>
> MG> A possible solution fort this to insert the following line in the
> MG> Vdrshutdown script before the shutdown command:
>
> >better, somewhere inside your shutdown scripts, like on SuSE,
> IIRC,
> >/etc/sbin.d/halt
>
> in the suse script halt there alredy is a hwclock command, but it does
> not work form e; dont know why...
> while shutdown it says "setting hwclock to system time done" but if I
> look in the cmos its still wrong; upper described solution works fo me.
>
>
> MG>
> MG> hwclock --systohc
>
> >And you should choose a "trustable" transponder anyway, because
> some
> >transponders send their local time and some send (or at least used
> to
> >send) just crap
>
> yep; thanx forgot to write that i use ARD as my time source.
>
.. but that does not help if your box only starts to record something on
another transponder. So I do this always in my runvdr script before I start
VDR:
SETUPCF=/usr/local/src/VDRtmp/setup.conf
sed -e /CurrentChannel/d $SETUPCF > $SETUPCF.tmp
mv $SETUPCF.tmp $SETUPCF
echo "CurrentChannel = 1" >> $SETUPCF
"1" is ARD in my case.
So it realy starts on ARD. After some minutes it gets the timer and switches
than to the right channel. The time is enough to adjust the system time. The
rest is like above.
Kind regards
Manfred
------- Manfred Schmidt-Voigt -------
----- Gunzweg 10, 22393 Hamburg -----
----- -----
------- mailto:manfred.schmidt-voigt@mannitec.de -------
Home |
Main Index |
Thread Index