SVN: rc-scripts/trunk/rc.d/rc.sysinit
    glen 
    glen at pld-linux.org
       
    Fri Aug 19 21:43:45 CEST 2011
    
    
  
Author: glen
Date: Fri Aug 19 21:43:45 2011
New Revision: 12329
Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
prefer local code over io checks (boot splash unlikely enabled anyway)
Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Fri Aug 19 21:43:45 2011
@@ -198,7 +198,7 @@
 	fi
 
 	# Disable splash when requested
-	[ -e /proc/splash ] && is_no "$BOOT_SPLASH" && echo "0" > /proc/splash
+	is_no "$BOOT_SPLASH" && [ -e /proc/splash ] && echo "0" > /proc/splash
 
 	# Check SELinux status
 	selinuxfs=$(awk '/ selinuxfs / { print $2 }' /proc/mounts 2> /dev/null)
    
    
More information about the pld-cvs-commit
mailing list