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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von
C.Y.M
Gesendet: Dienstag, 5. September 2006 15:15
An: Vdr
Betreff: [vdr] 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@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


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

Reply via email to