ppcrcd/trunk/conf.dir/usr/lib/ppcrcd: fbsplash rc.live

sparky cvs at pld-linux.org
Fri Jul 14 22:57:52 CEST 2006


Author: sparky
Date: Fri Jul 14 22:57:49 2006
New Revision: 7525

Modified:
   ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/fbsplash
   ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live
Log:
- check for nosplash option in rc.live, not in fbsplash script itself
- accept nofbsplash too


Modified: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/fbsplash
==============================================================================
--- ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/fbsplash	(original)
+++ ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/fbsplash	Fri Jul 14 22:57:49 2006
@@ -4,9 +4,6 @@
 
 [ -x /sbin/splash_util ] || exit
 
-#@nv@ nosplash:	disable fbsplash
-{ cmdopt nosplash || nvopt nosplash; } && exit
-
 verbose 1 -G "Trying to start fbsplash"
 
 /sbin/splash_util --vc=0 -m v -t ppcrcd -c setcfg >/dev/null 2>&1

Modified: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live
==============================================================================
--- ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live	(original)
+++ ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live	Fri Jul 14 22:57:49 2006
@@ -33,7 +33,12 @@
 	done
 fi
 
-[ -x /usr/lib/ppcrcd/fbsplash ] && /usr/lib/ppcrcd/fbsplash
+if [ -x /usr/lib/ppcrcd/fbsplash ]; then
+	#@nv@ nosplash:	disable fbsplash
+	! cmdopt nosplash && ! nvopt nosplash && \
+		! cmdopt nofbsplash && ! nvopt nofbsplash && \
+			/usr/lib/ppcrcd/fbsplash
+fi
 
 #@@	debugr / debug:
 #@	put debugging information (set -x),


More information about the pld-cvs-commit mailing list