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.