mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
lcdproc: add support for user LCDd.conf in /storage/.config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
87898a20d7
commit
d884037db4
@ -29,13 +29,23 @@
|
||||
(
|
||||
[ -f /storage/.config/lcd.conf ] && . /storage/.config/lcd.conf || exit 0
|
||||
|
||||
|
||||
if [ ! "$LCD_DRIVER" = none ]; then
|
||||
|
||||
progress "Starting LCD daemon with driver: $LCD_DRIVER"
|
||||
|
||||
usleep 10000000 # sleep 10sec. to for irserver loading
|
||||
if [ -f /storage/.config/LCDd.conf ]; then
|
||||
LCD_CONFIG="/storage/.config/LCDd.conf"
|
||||
else
|
||||
LCD_CONFIG="/etc/LCDd.conf"
|
||||
fi
|
||||
|
||||
LCDd -c /etc/LCDd.conf -d $LCD_DRIVER > /dev/null 2>&1
|
||||
# sleep 10sec. to for irserver loading
|
||||
if [ "$LCD_DRIVER" = "irtrans" ]; then
|
||||
usleep 10000000
|
||||
fi
|
||||
|
||||
LCDd -c $LCD_CONFIG -d $LCD_DRIVER > /dev/null 2>&1
|
||||
|
||||
fi
|
||||
)&
|
Loading…
x
Reference in New Issue
Block a user