Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: CurrentChannel not saved on Poweroff



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.

-- 
Dick Streefland                    ////               De Bilt
dick.streefland@xs4all.nl         (@ @)       The Netherlands
------------------------------oOO--(_)--OOo------------------




Home | Main Index | Thread Index