blob: 4e39ec2f158f33934a0156b52003206fda6c1bd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- sbin/rc
+++ sbin/rc
@@ -264,6 +259,11 @@
fi
eend $?
+ # Selinux lovin; /selinux should be mounted by selinux-patched init
+ if [[ -x /sbin/restorecon ]] && [[ -c /selinux/null ]] ; then
+ restorecon /dev &> /selinux/null
+ fi
+
# Actually get udev rolling
ebegin "Configuring system to use udev"
if [[ ${RC_DEVICE_TARBALL} = "yes" ]] && [[ -s /lib/udev-state/devices.tar.bz2 ]]
|