Re: [vdr] VDR shutdown question

2007-07-18 Thread Norbert Goebel
Udo Richter schrieb: > Norbert Goebel wrote: > >> Why is this done in this order and not like this: >> >> a) check the shutdown-hooks and if those exit with exitcode=0 do b) else >> abort the shutdown sequence without a message (exception: the script >> wants to be verbose and does it itself)

Re: [vdr] VDR shutdown question

2007-07-17 Thread Udo Richter
Norbert Goebel wrote: > Why is this done in this order and not like this: > > a) check the shutdown-hooks and if those exit with exitcode=0 do b) else > abort the shutdown sequence without a message (exception: the script > wants to be verbose and does it itself) > b) display shutdown abort mess

Re: [vdr] VDR shutdown question

2007-07-16 Thread Norbert Goebel
Friedhelm Büscher schrieb: > > let me guess: it gets a timeout? VDR is busy waiting for the shutdownscript > to return, so > no new svdr-connection is accepted. Spawn the svdrpsend (with at, if you > like) and your > problems will vanish. > > Sorry, but you guessed wrong ;) Like written before

Re: [vdr] VDR shutdown question

2007-07-16 Thread Norbert Goebel
Norbert Goebel schrieb: > Hi, > > as always it's a problem of knowing how to do what you want to do. > I for example am trying and trying to get rid of the onscreen message > "Taste drücken, um Ausschalten abzubrechen" automatically, but somehow > commands like > $svdrpsend HITK Ok > /dev/nulll &

Re: [vdr] VDR shutdown question

2007-07-16 Thread Friedhelm Büscher
Norbert Goebel wrote: > as always it's a problem of knowing how to do what you want to do. > I for example am trying and trying to get rid of the onscreen message > "Taste drücken, um Ausschalten abzubrechen" automatically, but somehow > commands like > $svdrpsend HITK Ok > /dev/nulll & > with s

Re: [vdr] VDR shutdown question

2007-07-16 Thread Norbert Goebel
Friedhelm Büscher schrieb: > simply write an intelligent shutdownscript. > > > mine does: > > (only snippets) > > if [ "`ps aux | grep noad | grep -v 'grep noad'`" != "" ]; then > logger -t vdr "not shutting down, noad is running" > > if [ "`smbstatus -p | grep -c 192.168.42`" != "0" ]; then >

Re: [vdr] VDR shutdown question

2007-07-15 Thread Friedhelm Büscher
Norbert Goebel wrote: > Hi, > > does vdr (especially version 1.4.7 as I am using this right now) tell > the shutdownscript in any way what caused the shutdown-request (pressing > the poweroff button on fb or the idle timer)? > [..] > > For this it would be nice to have > a) a direct vdr featur

Re: [vdr] VDR shutdown question

2007-07-15 Thread Udo Richter
Norbert Goebel wrote: > does vdr (especially version 1.4.7 as I am using this right now) tell > the shutdownscript in any way what caused the shutdown-request (pressing > the poweroff button on fb or the idle timer)? See the INSTALL file of VDR. The 5'th parameter of the shutdown script is 0 fo