mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
busybox-initramfs: show splash by default, can be disabled on kernel commandline with 'nosplash'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
16b8899cd8
commit
72b6f6c433
@ -17,8 +17,8 @@ REBOOT=0
|
|||||||
debugging)
|
debugging)
|
||||||
DEBUG=yes
|
DEBUG=yes
|
||||||
;;
|
;;
|
||||||
splash)
|
nosplash)
|
||||||
SPLASH=yes
|
SPLASH=no
|
||||||
;;
|
;;
|
||||||
bootchart)
|
bootchart)
|
||||||
BOOTCHART=yes
|
BOOTCHART=yes
|
||||||
@ -49,7 +49,9 @@ REBOOT=0
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_splash() {
|
show_splash() {
|
||||||
if [ "$SPLASH" = yes ]; then
|
if [ "$SPLASH" = no ]; then
|
||||||
|
break
|
||||||
|
else
|
||||||
if [ -f "/bin/ply-image" -a -f "/splash.png" ]; then
|
if [ -f "/bin/ply-image" -a -f "/splash.png" ]; then
|
||||||
/bin/ply-image /splash.png
|
/bin/ply-image /splash.png
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user