diff options
author | Bill Nottingham <notting@redhat.com> | 2006-04-20 20:10:16 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-04-20 20:10:16 +0000 |
commit | f62a4cbdf8366684d0f21601be3f7d1e8c4272ee (patch) | |
tree | a31cf22310efdcc2105dba21598777558f6c852d /rc.d | |
parent | e501e632188ae13fcf9b3331a19f7adcb9210f99 (diff) | |
download | initscripts-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')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
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 |