[vdr] Re: [ANNOUNCE] runvdr extreme

Udo Richter udo_richter at gmx.de
Tue Oct 10 14:13:29 CEST 2006


Suur Karu wrote:
> Nice script, but one question.
> After starting 'runvdr&' file with name '-' is created with content:
> /bin/setterm
> 
> For what is it?

For checking if people would notice. ;)

Note to myself: Don't do these last-minute changes....

Attached patch should fix this.

Cheers,

Udo

-------------- next part --------------
Index: runvdr
===================================================================
--- runvdr	(revision 776)
+++ runvdr	(working copy)
@@ -68,14 +68,14 @@
 #  -w #  --watchdog # WATCHDOG         activate the watchdog timer with a timeout of SEC
 
 
-which $PGREP     >- || { echo missing $PGREP... >2 ;   exit 1 ; }
-which $PS        >- || { echo missing $PS... >2 ;      exit 1 ; }
-which $GETOPT    >- || { echo missing $GETOPT... >2 ;  exit 1 ; }
-which $KILL      >- || { echo missing $KILL... >2 ;    exit 1 ; }
-which $SLEEP     >- || { echo missing $SLEEP... >2 ;   exit 1 ; }
-which $CHVT      >- || { echo missing $CHVT... >2 ;    exit 1 ; }
-which $DATE      >- || { echo missing $DATE... >2 ;    exit 1 ; }
-which $SETTERM   >- || { echo missing $SETTERM... >2 ; exit 1 ; }
+which $PGREP     >&- || { echo missing $PGREP... >2 ;   exit 1 ; }
+which $PS        >&- || { echo missing $PS... >2 ;      exit 1 ; }
+which $GETOPT    >&- || { echo missing $GETOPT... >2 ;  exit 1 ; }
+which $KILL      >&- || { echo missing $KILL... >2 ;    exit 1 ; }
+which $SLEEP     >&- || { echo missing $SLEEP... >2 ;   exit 1 ; }
+which $CHVT      >&- || { echo missing $CHVT... >2 ;    exit 1 ; }
+which $DATE      >&- || { echo missing $DATE... >2 ;    exit 1 ; }
+which $SETTERM   >&- || { echo missing $SETTERM... >2 ; exit 1 ; }
 
 
 


More information about the vdr mailing list