summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorSimon Rettberg2014-07-05 17:25:01 +0200
committerSimon Rettberg2014-07-05 17:25:01 +0200
commit917baa7b28a0d34d0868ce15baba5a73ff8f3cec (patch)
treeb4cf2c1c53b5485c18e5a78fbcc54bfa13ad1d45 /remote
parent[stage31] Made splash-screen nicer (diff)
downloadtm-scripts-917baa7b28a0d34d0868ce15baba5a73ff8f3cec.tar.gz
tm-scripts-917baa7b28a0d34d0868ce15baba5a73ff8f3cec.tar.xz
tm-scripts-917baa7b28a0d34d0868ce15baba5a73ff8f3cec.zip
Fix new splash screen...
Diffstat (limited to 'remote')
-rw-r--r--remote/rootfs/rootfs-stage31/data/inc/parse_kcl2
-rwxr-xr-xremote/rootfs/rootfs-stage31/data/init5
2 files changed, 5 insertions, 2 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/inc/parse_kcl b/remote/rootfs/rootfs-stage31/data/inc/parse_kcl
index 485e5f87..13f9c467 100644
--- a/remote/rootfs/rootfs-stage31/data/inc/parse_kcl
+++ b/remote/rootfs/rootfs-stage31/data/inc/parse_kcl
@@ -38,7 +38,7 @@ for opts in ${KCL}; do
slxbase=*)
SLX_BASE_PATH=${opts#slxbase=} ;;
splash)
- [ -e "/etc/splash.ppm" ] && SPLASH=1 ;;
+ SPLASH=1 ;;
nvidia)
GFX=nvidia ;;
ati|amd)
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init
index 91ae5d43..f6a99cf6 100755
--- a/remote/rootfs/rootfs-stage31/data/init
+++ b/remote/rootfs/rootfs-stage31/data/init
@@ -54,9 +54,12 @@ if [ "$SPLASH" -eq 1 ]; then
clear
if [ -e "/etc/splash.ppm.gz" ]; then
fbsplash -x -b -c -s "/etc/splash.ppm.gz" &
- else
+ elif [ -e "/etc/splash.ppm" ]; then
fbsplash -x -b -c -s "/etc/splash.ppm" &
+ else
+ echo "Splash screen requested, but not found in initramfs..." >&4
fi
+ echo -e "\033[?25l"
fi
else
setup_gfx