aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 2a816e94..17458f8b 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -42,7 +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/* /dev/.udev.tdb /dev/*/* 2> /dev/null
+ /sbin/restorecon -R /dev 2>/dev/null
fi
disable_selinux() {