xbmc: rework init scripts

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-09 03:49:02 +01:00
parent 6db6b95817
commit ae1aa10665
2 changed files with 3 additions and 12 deletions

View File

@ -1,5 +1,3 @@
#!/bin/sh
################################################################################
# Copyright (C) 2009-2010 OpenELEC.tv
# http://www.openelec.tv
@ -24,8 +22,6 @@
#
# runlevels: openelec
. /etc/profile
progress "setup XBMC"
#

View File

@ -1,5 +1,3 @@
#!/bin/sh
################################################################################
# Copyright (C) 2009-2010 OpenELEC.tv
# http://www.openelec.tv
@ -24,15 +22,12 @@
#
# runlevels: openelec
. /etc/profile
progress "starting XBMC"
LIRCDEV="/var/run/lirc/lircd"
[ -e /var/run/lirc/lircd.irtrans ] && LIRCDEV="/var/run/lirc/lircd.irtrans"
XBMC_ARGS="--standalone -fs --lircdev $LIRCDEV"
progress "starting XBMC"
# starting xbmc-wiimote if avaible
[ "$(pidof bluetoothd)" -a -f /usr/bin/xbmc-wiiremote ] && \
/usr/bin/xbmc-wiiremote >/dev/null 2>&1 &