aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-09-24 23:41:35 +0000
committerBill Nottingham <notting@redhat.com>2004-09-24 23:41:35 +0000
commit35936c5c15f53fa094c26680b85eb9cc1d358f08 (patch)
tree8b0230fda50845aad83980f7e0565434ad515a56 /rc.d/rc.sysinit
parentb1c008f4a417fd7bd04874ed74e023b897dee021 (diff)
downloadinitscripts-35936c5c15f53fa094c26680b85eb9cc1d358f08.tar
initscripts-35936c5c15f53fa094c26680b85eb9cc1d358f08.tar.gz
initscripts-35936c5c15f53fa094c26680b85eb9cc1d358f08.tar.bz2
initscripts-35936c5c15f53fa094c26680b85eb9cc1d358f08.tar.xz
initscripts-35936c5c15f53fa094c26680b85eb9cc1d358f08.zip
use recursive restorecon
Diffstat (limited to 'rc.d/rc.sysinit')
-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() {