mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
init: Parse resolution after splash.conf
This commit is contained in:
parent
b4f3545fd7
commit
4809df9715
@ -433,6 +433,13 @@
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# load splash
|
||||||
|
if [ -f /flash/oemsplash.png ]; then
|
||||||
|
SPLASHIMAGE="/flash/oemsplash.png"
|
||||||
|
elif [ -f /splash/splash.conf ]; then
|
||||||
|
. /splash/splash.conf
|
||||||
|
fi
|
||||||
|
|
||||||
# Select splash image based on current native resolution
|
# Select splash image based on current native resolution
|
||||||
if [ -z "$SPLASHIMAGE" ]; then
|
if [ -z "$SPLASHIMAGE" ]; then
|
||||||
vres="$(fbset | awk '/geometry/ { print $3 }')"
|
vres="$(fbset | awk '/geometry/ { print $3 }')"
|
||||||
@ -443,13 +450,6 @@
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# load splash
|
|
||||||
if [ -f /flash/oemsplash.png ]; then
|
|
||||||
SPLASHIMAGE="/flash/oemsplash.png"
|
|
||||||
elif [ -f /splash/splash.conf ]; then
|
|
||||||
. /splash/splash.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
ply-image $SPLASHIMAGE > /dev/null 2>&1
|
ply-image $SPLASHIMAGE > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user