Re: [ANNOUNCE] runvdr extreme

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ; }
 
 
 

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux