[readonly/geninitrd/bootsplash: 175/176] - cosmetics (move one definition to the top) - added --without-bootsplash

draenog draenog at pld-linux.org
Sat Nov 2 19:24:58 CET 2013


commit 2bb15dee2c6cd79176106c63930d3e8434f8d845
Author: pzurowski <pzurowski at pld-linux.org>
Date:   Wed Dec 24 12:51:42 2003 +0000

    - cosmetics (move one definition to the top)
    - added --without-bootsplash
    
    
    svn-id: @3071

 geninitrd | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 089bc81..6dadecc 100755
--- a/geninitrd
+++ b/geninitrd
@@ -36,13 +36,15 @@ raidtab="/etc/raidtab"
 fstab="/etc/fstab"
 insmod="insmod"
 modext=".o"
+# default bootsplash is off, if it have to be on, install bootsplash package
+BOOT_SPLASH=no
 
 usage () {
 	echo "usage: `basename $0` [--version] [-v] [-f] [--ifneeded] [--preload <module>]" 1>&2
 	echo "       [--with=<module>] [--image-version] [--fstab=<fstab>] [--nocompress]" 1>&2
 	echo "       [--initrdfs=rom|ext2|cram] [--modules-conf=<modules.conf>]" 1>&2
 	echo "       [--with-raidstart] [--without-raidstart] [--with-insmod-static]" 1>&2
-	echo "       [--with-mdadm-static]" 1>&2
+	echo "       [--with-mdadm-static] [--without-bootsplash]" 1>&2
 	echo "       <initrd-image> <kernel-version>" 1>&2
 	echo "       (ex: `basename $0` /boot/initrd-2.2.5-15.img 2.2.5-15)" 1>&2
 	exit 1
@@ -600,8 +602,6 @@ if [ -r /etc/sysconfig/geninitrd ] ; then
 	. /etc/sysconfig/geninitrd
 fi
 
-# default bootsplash is off, if it have to be on, install bootsplash package
-BOOT_SPLASH=no
 if [ -r /etc/sysconfig/bootsplash ] ; then
 	. /etc/sysconfig/bootsplash
 fi
@@ -663,6 +663,8 @@ while [ $# -gt 0 ]; do
 	--without-insmod-static)
 		USEINSMODSTATIC="no"
 		;;
+	--without-bootsplash)
+		BOOT_SPLASH="no"
 	--with=*)
 		BASICMODULES="$BASICMODULES `echo $1 | awk -F= '{print $2;}'`"
 		;;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/e78d0464d014f4052036c0d83d354a7bb744825d



More information about the pld-cvs-commit mailing list