- rework init script
- add sleep from 11 sec to ensure irserver is already loaded
This commit is contained in:
Stephan Raue 2010-05-02 16:22:21 +02:00
parent 131603f472
commit badbf085ff

View File

@ -2,12 +2,16 @@
# #
# runlevels: openelec, textmode # runlevels: openelec, textmode
[ -f /storage/.config/lcd.conf ] && . /storage/.config/lcd.conf (
[ -f /storage/.config/lcd.conf ] && . /storage/.config/lcd.conf || exit 0
if [ ! "$LCD_DRIVER" = "none" -a -z "$LCD_DRIVER" ]; then if [ ! "$LCD_DRIVER" = none ]; then
progress "Starting LCD daemon" progress "Starting LCD daemon with driver: $LCD_DRIVER"
LCDd -c /etc/LCDd.conf -d $LCD_DRIVER > /dev/null 2>&1 usleep 10000000 # sleep 10sec. to for irserver loading
fi LCDd -c /etc/LCDd.conf -d $LCD_DRIVER > /dev/null 2>&1
fi
)&