description "XBMC Daemon" author "Steffen Barszus " env DISPLAY=:1 export DISPLAY pre-start script vdr-dbus-send /Remote remote.Disable ||: if [ ! -z $STANDALONE ] ; then touch /tmp/.standalone fi end script post-stop script /bin/rm -f /tmp/.standalone vdr-dbus-send /Remote remote.Enable ||: /sbin/initctl emit --no-wait vdr-frontend-restart end script 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