]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
prefer local code over io checks (boot splash unlikely enabled anyway)
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 19 Aug 2011 19:43:45 +0000 (19:43 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 19 Aug 2011 19:43:45 +0000 (19:43 +0000)
svn-id: @12329

rc.d/rc.sysinit

index a34f5c5246bb8c563460c230cd54db3498292858..380fb05cea1bf47a705de2a9c7674bb2078fec56 100755 (executable)
@@ -198,7 +198,7 @@ if ! is_yes "$VSERVER" ; then
        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)
This page took 0.172961 seconds and 4 git commands to generate.