Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: CurrentChannel not saved on Poweroff
Dick Streefland wrote:
>
> On Saturday 2004-07-10 16:08, Klaus Schmidinger wrote:
> | Your shutdown script must return to VDR before the actual shutdown
> | happens, otherwise VDR won't be able to handle the signal 15 that is sent
> | to all processes upon shutdown, and that's when it saves the setup.conf
> | file.
>
> It is not my shutdown script, it is the standard /usr/bin/shutdownvdr
> script included in vdr-1.2.6. The default shutdown command is:
>
> SHUTDOWNCMD="/etc/init.d/vdr stop ; sleep 1 ; /sbin/shutdown -h now"
>
> I installed a hook in /usr/share/vdr/shutdown-hooks/ to change this to:
>
> SHUTDOWNCMD="(sleep 1; /sbin/shutdown -h now)&"
>
> and now it works.
Well, actually with plain vanilla VDR there is no "standard" shutdown
script ;-) This must be from some VDR distribution, implementing their
own shutdown strategy.
Klaus
Home |
Main Index |
Thread Index