From 821fdaecc854b4aac856ccd6d5539c37b6d5cfc8 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Mon, 10 Apr 2017 14:35:07 +0100 Subject: [PATCH] Remove SELinux setup until actually implemented Signed-off-by: Justin Cormack --- pkg/init/etc/init.d/rcS | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/init/etc/init.d/rcS b/pkg/init/etc/init.d/rcS index db087f4fd..11fd504c6 100755 --- a/pkg/init/etc/init.d/rcS +++ b/pkg/init/etc/init.d/rcS @@ -63,14 +63,6 @@ done < /proc/cgroups mkdir -p /sys/fs/cgroup/systemd mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd -# set SELinux contexts -if [ -x /sbin/restorecon ] -then - restorecon -F /sys/devices/system/cpu/online >/dev/null 2>&1 - restorecon -rF /sys/fs/cgroup >/dev/null 2>&1 - restorecon -rF /dev >/dev/null 2>&1 -fi - # start mdev for hotplug echo "/sbin/mdev" > /proc/sys/kernel/hotplug