[Fai-commit] r3129 - trunk/bin

fai-repository at svn.debian.org fai-repository at svn.debian.org
Thu Dec 1 22:49:26 UTC 2005


Author: lange
Date: 2005-12-01 22:49:25 +0000 (Thu, 01 Dec 2005)
New Revision: 3129

Modified:
   trunk/bin/fai
Log:
do not use color logo if $console was set on the kernel command line


Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai	2005-12-01 22:44:57 UTC (rev 3128)
+++ trunk/bin/fai	2005-12-01 22:49:25 UTC (rev 3129)
@@ -148,6 +148,7 @@
 	if [ $DO_INIT_TASKS -eq 1 ]; then
 	    grep -q '[[:space:]]sysfs' /proc/filesystems && mount -t sysfs sysfs /sys
 	    ifup lo
+	    [ -x /etc/init.d/udev ] && /etc/init.d/udev start
 	    [ -x /sbin/portmap ] && /sbin/portmap
 	    mount -t devpts devpts /dev/pts
 	    # add other options for nfs mount of /dev/root to root-path in dhcpd.conf
@@ -161,6 +162,7 @@
 
     # set red color, but not on some archs
     [ -e /.nocolorlogo ] && COLOR_FAI_LOGO=0
+    [ -n "$console" ] && COLOR_FAI_LOGO=0  # no red logo if console was defined on the command line
     case $HOSTTYPE in
 	sparc*|powerpc*) COLOR_FAI_LOGO=0 ;;
     esac




More information about the Fai-commit mailing list