Author: glen
Date: Fri Feb 10 20:37:28 2006
New Revision: 6961

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
Fixing indent

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:37:28 2006
@@ -102,26 +102,26 @@
        # Disable splash when requested
        [ -e /proc/splash ] && is_no "$BOOT_SPLASH" && echo "0" > /proc/splash
 
-# Check SELinux status
-selinuxfs=$(awk '/ selinuxfs / { print $2 }' /proc/mounts 2> /dev/null)
-SELINUX=
-if [ -n "$selinuxfs" ] && [ "$(cat /proc/self/attr/current)" != "kernel" ]; 
then
-       if [ -r $selinuxfs/enforce ] ; then
-               SELINUX=$(cat $selinuxfs/enforce)
-       else
-               # assume enforcing if you can't read it
-               SELINUX=1
+       # Check SELinux status
+       selinuxfs=$(awk '/ selinuxfs / { print $2 }' /proc/mounts 2> /dev/null)
+       SELINUX=
+       if [ -n "$selinuxfs" ] && [ "$(cat /proc/self/attr/current)" != 
"kernel" ]; then
+               if [ -r $selinuxfs/enforce ] ; then
+                       SELINUX=$(cat $selinuxfs/enforce)
+               else
+                       # assume enforcing if you can't read it
+                       SELINUX=1
+               fi
        fi
-fi
 
-if [ -x /sbin/restorecon ] && LC_ALL=C fgrep -q " /dev " /proc/mounts 
2>/dev/null ; then
-       /sbin/restorecon -R /dev 2>/dev/null
-fi
+       if [ -x /sbin/restorecon ] && LC_ALL=C fgrep -q " /dev " /proc/mounts 
2>/dev/null ; then
+               /sbin/restorecon -R /dev 2>/dev/null
+       fi
 
 
-if [ "$CONSOLETYPE" = "vt" -a -x /sbin/setsysfont ]; then
-       /sbin/setsysfont
-fi
+       if [ "$CONSOLETYPE" = "vt" -a -x /sbin/setsysfont ]; then
+               /sbin/setsysfont
+       fi
 fi
 
 # Print welcome message
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to