Author: arekm
Date: Sun Jun 26 12:48:48 2011
New Revision: 12250

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
Mount securityfs based on it's availability only.

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit    (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit    Sun Jun 26 12:48:48 2011
@@ -172,9 +172,8 @@
        # sysfs is also needed before any other things (under kernel > 2.5)
        if grep -q sysfs /proc/filesystems 2>/dev/null ; then
                is_fsmounted sysfs /sys || mount -n -o gid=17 -t sysfs sysfs 
/sys
-               if [ "$(kernelver)" -ge "002006014" ] && \
-                       grep -q securityfs /proc/filesystems 2>/dev/null ; then
-                               mount -n -o gid=17 -t securityfs securityfs 
/sys/kernel/security
+               if grep -q securityfs /proc/filesystems 2>/dev/null ; then
+                       mount -n -o gid=17 -t securityfs securityfs 
/sys/kernel/security
                fi
        fi
 
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to