lcdproc: rework init scripts

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-09 03:45:52 +01:00
parent 522b9b4988
commit 314defccf9

View File

@ -1,5 +1,3 @@
#!/bin/sh
################################################################################
# Copyright (C) 2009-2010 OpenELEC.tv
# http://www.openelec.tv
@ -24,11 +22,9 @@
#
# runlevels: openelec, textmode
. /etc/profile
(
[ -f /storage/.config/lcd.conf ] && . /storage/.config/lcd.conf || exit 0
if [ -f /storage/.config/lcd.conf ]; then
. /storage/.config/lcd.conf
if [ ! "$LCD_DRIVER" = none ]; then
@ -48,6 +44,6 @@
# sleep another 3sec. to for irserver loading
usleep 3000000
LCDd -c $LCD_CONFIG -d $LCD_DRIVER > /dev/null 2>&1
fi
fi
)&