aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit3
1 files changed, 1 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 5e0f74e7..b2599bb8 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -42,8 +42,7 @@ if [ -n "$selinuxfs" ] && [ "`cat /proc/self/attr/current`" != "kernel" ]; then
fi
if [ -x /sbin/restorecon ] && fgrep -q " /dev " /proc/mounts ; then
- /sbin/restorecon /dev /dev/null
- /sbin/restorecon /dev/* 2> /dev/null
+ /sbin/restorecon /dev /dev/* /dev/.udev.tdb /dev/*/* 2> /dev/null
fi
disable_selinux() {