diff options
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 |