AW: execute command after vdr starts

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

 



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"
>             ;;
>      *)
>             echo "ERROR: unknown state: $1"
>             ;;
>      esac
> 

Thanks for your replay, but I was looking for a switch that would make vdr run a
script right after vdr starts up.  Can this be adopted to that?  This seems to
only work after a recording has occurred.

Best Regards.



[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