aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-04-20 20:10:16 +0000
committerBill Nottingham <notting@redhat.com>2006-04-20 20:10:16 +0000
commitf62a4cbdf8366684d0f21601be3f7d1e8c4272ee (patch)
treea31cf22310efdcc2105dba21598777558f6c852d /rc.d/rc.sysinit
parente501e632188ae13fcf9b3331a19f7adcb9210f99 (diff)
downloadinitscripts-f62a4cbdf8366684d0f21601be3f7d1e8c4272ee.tar
initscripts-f62a4cbdf8366684d0f21601be3f7d1e8c4272ee.tar.gz
initscripts-f62a4cbdf8366684d0f21601be3f7d1e8c4272ee.tar.bz2
initscripts-f62a4cbdf8366684d0f21601be3f7d1e8c4272ee.tar.xz
initscripts-f62a4cbdf8366684d0f21601be3f7d1e8c4272ee.zip
add check here toor8-33
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 d805a4cd..96e79c82 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -485,7 +485,7 @@ if [ -n "$SELINUX_STATE" -a "$READONLY" != "yes" ]; then
relabel_selinux
fi
else
- if [ -d /etc/selinux ]; then
+ if [ -d /etc/selinux -a "$READONLY" != "yes" ]; then
[ -f /.autorelabel ] || touch /.autorelabel
fi
fi