Just add option -r script.sh
#!/bin/sh
case $1 in
before)
;;
after)
echo After recording $2
/usr/local/bin/startnoad.sh $2
;;
edited)
echo Edited recording $2
;;
*)
echo ERROR: unknown
martin wrote:
Just add option -r script.sh
#!/bin/sh
case $1 in
before)
;;
after)
echo After recording $2
/usr/local/bin/startnoad.sh $2
;;
edited)
echo Edited recording $2
;;
*)
C.Y.M wrote:
Thanks for your replay, but I was looking for a switch that would make vdr run a
script right after vdr starts up.
If you want to start a program together with VDR, why don't you put it
into your runvdr script?
Cheers,
Udo
___
Udo Richter wrote:
C.Y.M wrote:
Thanks for your replay, but I was looking for a switch that would make
vdr run a
script right after vdr starts up.
If you want to start a program together with VDR, why don't you put it
into your runvdr script?
Because in the runvdr script, the vdr
C.Y.M wrote:
Yes, I like the idea of backgrounding VDR using and then using 'wait $PID'.
Is that the method you use? I've been trying to find the best way to do this.
Could you give me an example? :)
Something like that. This is a snippet of my overgrown runvdr script:
# Run VDR
eval