AW: execute command after vdr starts

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

 



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

-----Urspr?ngliche Nachricht-----
Von: vdr-bounces@xxxxxxxxxxx [mailto:vdr-bounces@xxxxxxxxxxx] Im Auftrag von
C.Y.M
Gesendet: Dienstag, 5. September 2006 15:15
An: Vdr
Betreff: execute command after vdr starts

Is there a command line switch that would allow me to define a command vdr
must excute after initial startup?  I see one for before and after
recordings, but I am looking for a way to execute a command after startup
only.

Best Regards.

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr



[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