diff options
author | Bill Nottingham <notting@redhat.com> | 2006-02-20 18:27:37 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-02-20 18:27:37 +0000 |
commit | 1d253e5db0d0ff76d07310da6904ec7f3f7a6503 (patch) | |
tree | c81dc6de5def2e2f61a542f5bfa3eb21544b9dd7 /rc.d/rc.sysinit | |
parent | c66fb49dd750ce3448c4b886734066a5cc145df3 (diff) | |
download | initscripts-1d253e5db0d0ff76d07310da6904ec7f3f7a6503.tar initscripts-1d253e5db0d0ff76d07310da6904ec7f3f7a6503.tar.gz initscripts-1d253e5db0d0ff76d07310da6904ec7f3f7a6503.tar.bz2 initscripts-1d253e5db0d0ff76d07310da6904ec7f3f7a6503.tar.xz initscripts-1d253e5db0d0ff76d07310da6904ec7f3f7a6503.zip |
optimize, and add some more files
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 32264d91..308dd3e8 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -397,9 +397,7 @@ state=`LC_ALL=C awk '/ \/ / && ($3 !~ /rootfs/) { print $4 }' /proc/mounts` # Clean up SELinux labels if [ -n "$SELINUX_STATE" ]; then - for file in /etc/mtab /etc/ld.so.cache ; do - [ -r $file ] && restorecon $file >/dev/null 2>&1 - done + restorecon /etc/mtab /etc/ld.so.cache /etc/blkid.tab /etc/resolv.conf >/dev/null 2>&1 fi # Clear mtab |