[vdr] Change vdr shutdown command (into pm-suspend)

2013-12-06 Thread cedric.dew...@telfort.nl
Hi All,
I'm trying to make my TV server faster by calling pm-suspend instead of 
shutdown. I have made a script that stops vdr, unloads the DVB-t driver, 
suspend, resume, load the DVB-t driver, and restart VDR. This works nicely., 
see here for details:
http://forums.debian.net/viewtopic.php?f=5t=109612
Now I'm trying to automate it.
VDR is capable of shutting down the PC. This can be setup in /etc/default/vdr
Is there any way to let VDR call pm-suspend instead of /sbin/shutdown? Where is 
the setting for it?
Best regards,
Cedric
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Change vdr shutdown command (into pm-suspend)

2013-12-06 Thread fnu
Hey Cedric,

 

looks like you are using a Debian based installation, probably with Debian 
packages based on Tobias Grimm's great work over years, and for sure his 
co-workers.

 

Obviously you're dutch and maybe capable to understand some gernan words. So,  
you may have a look into an article Tobias wrote quite a while ago on his 
homepage:

 

http://www.e-tobi.net/blog/2010/11/06/squeeze-vdr-teil-9-suspend-to-ram

 

This way does work also perfectly with Ubuntu … ;-)

 

===

Kind regards

fnu

 

From: vdr-boun...@linuxtv.org [mailto:vdr-boun...@linuxtv.org] On Behalf Of 
cedric.dew...@telfort.nl
Sent: Friday, December 06, 2013 6:18 PM
To: VDR Mailing List
Subject: [vdr] Change vdr shutdown command (into pm-suspend)

 

Hi All,

I'm trying to make my TV server faster by calling pm-suspend instead of 
shutdown. I have made a script that stops vdr, unloads the DVB-t driver, 
suspend, resume, load the DVB-t driver, and restart VDR. This works nicely., 
see here for details:
http://forums.debian.net/viewtopic.php?f=5 
http://forums.debian.net/viewtopic.php?f=5t=109612 t=109612

Now I'm trying to automate it.

VDR is capable of shutting down the PC. This can be setup in /etc/default/vdr

Is there any way to let VDR call pm-suspend instead of /sbin/shutdown? Where is 
the setting for it?

Best regards,
Cedric

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr