aboutsummaryrefslogtreecommitdiff
path: root/init.d/procfs.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/procfs.in')
-rw-r--r--init.d/procfs.in4
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