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
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 ; }
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr