description "XBMC Daemon" author "Steffen Barszus " env DISPLAY=:1 export DISPLAY start on ((started vdr and openbox-started and sound-card-added) or vdr-frontend-restart) stop on (stopping vdr or stopping openbox) nice -10 script eval ulimit -c unlimited su -c "python /usr/share/xbmc/FEH.py --standalone --lircdev /var/run/lirc/lircd" vdr RET=$? if [ $RET -ne 0 ]; then exit $RET fi exec start-stop-daemon --start --exec /usr/lib/xbmc/xbmc.bin --user vdr --chuid vdr \ -- --standalone --lircdev /var/run/lirc/lircd end script