rc-scripts/trunk/rc.d/rc.sysinit

glen cvs at pld-linux.org
Fri Feb 10 20:36:03 CET 2006


Author: glen
Date: Fri Feb 10 20:36:02 2006
New Revision: 6960

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
setsysfont and selinux make no sense inside vserver (no devices attached)

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Fri Feb 10 20:36:02 2006
@@ -101,7 +101,6 @@
 
 	# Disable splash when requested
 	[ -e /proc/splash ] && is_no "$BOOT_SPLASH" && echo "0" > /proc/splash
-fi
 
 # Check SELinux status
 selinuxfs=$(awk '/ selinuxfs / { print $2 }' /proc/mounts 2> /dev/null)
@@ -123,6 +122,7 @@
 if [ "$CONSOLETYPE" = "vt" -a -x /sbin/setsysfont ]; then
 	/sbin/setsysfont
 fi
+fi
 
 # Print welcome message
 nls "\t\t\t%sPowered by %sPLD Linux Distribution%s" "$(termput setaf $CPOWEREDBY)" "$(termput setaf $CPLD)" "$(termput op)"


More information about the pld-cvs-commit mailing list