#!/bin/sh
echo -e "\nRun better one of the following programs:\n\n - vdr-kbd (for PC keyboard control)\n - vdr-lirc (for control via the "Linux Infrared Remote Control")\n - vdr-rcu (for control via the \"Remote Control Unit\" receiver\n - vdr-daemon (to be controled by other applications)\n\nIf you do not wish to see this message, try update-alternatives --config vdr\n"
sleep 5
if which vdr-kbd; then
   exec vdr-kbd $*
elif which vdr-lirc; then
   exec vdr-lirc $*
elif which vdr-rcu; then
   exec vdr-rcu $*
elif which vdr-daemon; then
   exec vdr-daemon $*
fi
