SOURCES: splashutils.init - fbcondecor hacking. still no luck (NB ...

glen glen at pld-linux.org
Thu Apr 24 03:40:49 CEST 2008


Author: glen                         Date: Thu Apr 24 01:40:49 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fbcondecor hacking. still no luck (NB use gentoo theme for 8bpp)

---- Files affected:
SOURCES:
   splashutils.init (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SOURCES/splashutils.init
diff -u SOURCES/splashutils.init:1.9 SOURCES/splashutils.init:1.10
--- SOURCES/splashutils.init:1.9	Thu Apr 24 03:00:45 2008
+++ SOURCES/splashutils.init	Thu Apr 24 03:40:44 2008
@@ -40,9 +40,18 @@
 					done
 				fi
 
-				/sbin/splash_util --vc="$TTY" -m v -t "$theme" -c setcfg 2>/dev/null
-				[ "${TTY}" -eq 0 ] && /sbin/splash_util --vc=0 -m v -t "$theme" -c setpic
-				/sbin/splash_util --vc="$TTY" -c on 2>/dev/null
+				case "$engine" in
+				fbcondecor)
+					tool=fbcondecor_ctl
+					;;
+				*)
+					tool=splash_util
+					;;
+				esac
+
+				$tool --vc="$TTY" v -t "$theme" -c setcfg
+				[ "${TTY}" -eq 0 ] && $tool --vc=0 -m v -t "$theme" -c setpic
+				$tool --vc="$TTY" -c on
 			done
 			ok
 		done
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/splashutils.init?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list