Re: [vdr] auto shutdown (-s) question

2009-02-08 Thread Ville Skyttä
On Sunday 08 February 2009, Udo Richter wrote: > On 08.02.2009 10:19, Ville Skyttä wrote: > > On Saturday 07 February 2009, Udo Richter wrote: > >> Unfortunately it's not that easy. Currently, VDR backgrounds the call to > >> the shutdown script, and detaches the shutdown script from the VDR > >> p

Re: [vdr] auto shutdown (-s) question

2009-02-08 Thread Udo Richter
On 08.02.2009 10:19, Ville Skyttä wrote: > On Saturday 07 February 2009, Udo Richter wrote: >> Unfortunately it's not that easy. Currently, VDR backgrounds the call to >> the shutdown script, and detaches the shutdown script from the VDR >> process. Only because of that, the script can 'survive' th

Re: [vdr] auto shutdown (-s) question

2009-02-08 Thread Ville Skyttä
On Saturday 07 February 2009, Udo Richter wrote: > On 07.02.2009 11:26, Ville Skyttä wrote: > >> VDR does not know whether the shutdown script initiated the shutdown or > >> decided to ignore it, > > > > I suppose it would be quite easy to implement that and maybe some other > > scenarios as well u

Re: [vdr] auto shutdown (-s) question

2009-02-07 Thread Alex Betis
On Sat, Feb 7, 2009 at 12:44 AM, Udo Richter wrote: > On 06.02.2009 13:49, Alex Betis wrote: > > I'm playing now with autoshutdown script (the one that is specified with > > -s switch) and have a question. > > When power button is pressed, VDR calls the script, but lets say the > > script decided

Re: [vdr] auto shutdown (-s) question

2009-02-07 Thread Udo Richter
On 07.02.2009 11:26, Ville Skyttä wrote: >> VDR does not know whether the shutdown script initiated the shutdown or >> decided to ignore it, > > I suppose it would be quite easy to implement that and maybe some other > scenarios as well using shutdown script exit statuses. For example exit > statu

Re: [vdr] auto shutdown (-s) question

2009-02-07 Thread Ville Skyttä
On Saturday 07 February 2009, Ville Skyttä wrote: > On Saturday 07 February 2009, Udo Richter wrote: > > On 06.02.2009 13:49, Alex Betis wrote: > > > I'm playing now with autoshutdown script (the one that is specified > > > with -s switch) and have a question. > > > When power button is pressed, VD

Re: [vdr] auto shutdown (-s) question

2009-02-07 Thread Ville Skyttä
On Saturday 07 February 2009, Udo Richter wrote: > On 06.02.2009 13:49, Alex Betis wrote: > > I'm playing now with autoshutdown script (the one that is specified with > > -s switch) and have a question. > > When power button is pressed, VDR calls the script, but lets say the > > script decided not

Re: [vdr] auto shutdown (-s) question

2009-02-06 Thread Udo Richter
On 06.02.2009 13:49, Alex Betis wrote: > I'm playing now with autoshutdown script (the one that is specified with > -s switch) and have a question. > When power button is pressed, VDR calls the script, but lets say the > script decided not to > shutdown the PC (other background work is done). I see

[vdr] auto shutdown (-s) question

2009-02-06 Thread Alex Betis
Hi all, I'm playing now with autoshutdown script (the one that is specified with -s switch) and have a question. When power button is pressed, VDR calls the script, but lets say the script decided not to shutdown the PC (other background work is done). I see that VDR shows a countdown of 5 minutes