mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
lcdproc: simplyfing init script, use system config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8527c0a36c
commit
0ceda4690f
@ -22,11 +22,9 @@
|
|||||||
#
|
#
|
||||||
# runlevels: openelec, textmode
|
# runlevels: openelec, textmode
|
||||||
|
|
||||||
OPENELEC_SETTINGS="$HOME/.xbmc/userdata/addon_data/os.openelec.settings/settings.xml"
|
|
||||||
|
|
||||||
(
|
(
|
||||||
if [ -f "$OPENELEC_SETTINGS" ]; then
|
if [ -f /var/config/settings.conf ]; then
|
||||||
LCD_DRIVER=`grep LCD_DRIVER $OPENELEC_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
|
. /var/config/settings.conf
|
||||||
|
|
||||||
if [ ! "$LCD_DRIVER" = none ]; then
|
if [ ! "$LCD_DRIVER" = none ]; then
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user