diff options
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/procfs.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/procfs.in b/init.d/procfs.in index 0db53051..636cd20b 100644 --- a/init.d/procfs.in +++ b/init.d/procfs.in @@ -61,10 +61,10 @@ start() fi # Setup Kernel Support for SELinux - if [ -d /selinux ] && ! mountinfo -q /selinux; then + if [ -d /sys/fs/selinux ] && ! mountinfo -q /sys/fs/selinux; then if grep -qs selinuxfs /proc/filesystems; then ebegin "Mounting SELinux filesystem" - mount -t selinuxfs selinuxfs /selinux + mount -t selinuxfs selinuxfs /sys/fs/selinux eend $? fi fi |