mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
lcdproc:
- add user config file - rework the init script
This commit is contained in:
parent
71ccc96ca7
commit
8f505e4e0a
@ -2,9 +2,12 @@
|
||||
#
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
(
|
||||
[ -f /storage/.config/lcd.conf ] && . /storage/.config/lcd.conf
|
||||
|
||||
if [ ! "$LCD_DRIVER" = "none" -a -z "$LCD_DRIVER" ]; then
|
||||
|
||||
progress "Starting LCD daemon"
|
||||
|
||||
LCDd -c /etc/LCDd.conf > /dev/null 2>&1
|
||||
LCDd -c /etc/LCDd.conf -d $LCD_DRIVER > /dev/null 2>&1
|
||||
|
||||
)&
|
||||
fi
|
@ -16,5 +16,8 @@ mkdir -p $INSTALL/usr/sbin
|
||||
mkdir -p $INSTALL/usr/lib/lcdproc
|
||||
cp $PKG_BUILD/server/drivers/*.so $INSTALL/usr/lib/lcdproc
|
||||
|
||||
mkdir -p $INSTALL/usr/config
|
||||
cp $PKG_DIR/config/lcd.conf $INSTALL/usr/config
|
||||
|
||||
mkdir -p $INSTALL/etc
|
||||
cp $PKG_BUILD/LCDd.conf $INSTALL/etc
|
||||
|
Loading…
x
Reference in New Issue
Block a user