mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
lcdproc:
- rework init script - add sleep from 11 sec to ensure irserver is already loaded
This commit is contained in:
parent
131603f472
commit
badbf085ff
@ -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
|
||||||
|
)&
|
Loading…
x
Reference in New Issue
Block a user