vdr/vdr/debian vdr.init

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 09 Jan 2005 17:48:43 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv31045/vdr/vdr/debian

Modified Files:
	vdr.init 
Log Message:
* moved sourcing the files commands-loader.sh and plugin-loader.sh directly into the function startvdr, because it is not very useful to run all those commands when we want to just stop vdr ;-)

Index: vdr.init
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.init,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- vdr.init	5 Jan 2005 20:56:10 -0000	1.33
+++ vdr.init	9 Jan 2005 17:48:39 -0000	1.34
@@ -14,13 +14,12 @@
 
 test -x /usr/sbin/runvdr || exit 0
 
-. /usr/lib/vdr/plugin-loader.sh
-. /usr/lib/vdr/commands-loader.sh
-
 startvdr() 
 {
     if ! ps ax | grep "/usr/bin/vdr " | grep -v grep > /dev/null 
     then
+	. /usr/lib/vdr/plugin-loader.sh
+	. /usr/lib/vdr/commands-loader.sh
     	getplugins
     	mergecommands "commands"
     	mergecommands "reccmds"