vdr/vdr/debian vdr.init

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 11 Jul 2004 09:20:51 +0000


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

Modified Files:
	vdr.init 
Log Message:
ok, next try :)
remember: allway test such changes before commiting useles stuff

Index: vdr.init
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.init,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- vdr.init	11 Jul 2004 09:11:55 -0000	1.22
+++ vdr.init	11 Jul 2004 09:20:49 -0000	1.23
@@ -22,7 +22,7 @@
 
 startvdr() 
 {
-    if ! `ps ax | grep "/usr/bin/vdr " | grep -v grep`
+    if ! ps ax | grep "/usr/bin/vdr " | grep -v grep > /dev/null 
     then
     	getplugins
     	mergecommands "commands"
@@ -31,7 +31,7 @@
 	 	--exec /usr/sbin/runvdr -- -v $VIDEO_DIR -c $CFG_DIR -r $REC_CMD \
 	 	-s $SHUTDOWN_CMD $OPTIONS $PLUGINS &
     else
-	   echo -n " - seems to be running already."
+	   echo " - seems to be running already."
     fi
 }