mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
splashutils: enhance support for project based splash themes
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
3a031b03f7
commit
1bd10b169b
@ -25,8 +25,11 @@
|
||||
|
||||
if [ ! "$SPLASH" = "no" ]; then
|
||||
progress "starting splash"
|
||||
if [ -z "$SPLASH_THEME" ]; then
|
||||
SPLASH_THEME="default"
|
||||
fi
|
||||
mkdir -p /run/splash/cache/
|
||||
fbsplashd --theme=default --type=bootup
|
||||
fbsplashd --theme=$SPLASH_THEME --type=bootup
|
||||
|
||||
echo "set tty silent 2" > /run/splash/cache/.splash
|
||||
echo "set tty verbose 6" > /run/splash/cache/.splash
|
@ -34,8 +34,8 @@ mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/src/.libs/splash_util $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/etc/splash
|
||||
if [ -d $PROJECT_DIR/$PROJECT/splash/default ]; then
|
||||
cp -R $PROJECT_DIR/$PROJECT/splash/default $INSTALL/etc/splash
|
||||
if [ -d $PROJECT_DIR/$PROJECT/splash ]; then
|
||||
cp -R $PROJECT_DIR/$PROJECT/splash/* $INSTALL/etc/splash
|
||||
else
|
||||
cp -R $PKG_DIR/splash/default $INSTALL/etc/splash
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user