From 4809df97154316c3ac5dd95301aaedcd4e4bcd49 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Wed, 1 Jun 2016 20:01:54 +0100 Subject: [PATCH] init: Parse resolution after splash.conf --- packages/sysutils/busybox/scripts/init | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 4253df1416..09aac144d8 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -433,6 +433,13 @@ 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 if [ -z "$SPLASHIMAGE" ]; then vres="$(fbset | awk '/geometry/ { print $3 }')" @@ -443,13 +450,6 @@ 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 fi fi