aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/fedora-autorelabel
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/fedora-autorelabel')
-rwxr-xr-xsystemd/fedora-autorelabel4
1 files changed, 0 insertions, 4 deletions
diff --git a/systemd/fedora-autorelabel b/systemd/fedora-autorelabel
index 204c5761..dad7a91f 100755
--- a/systemd/fedora-autorelabel
+++ b/systemd/fedora-autorelabel
@@ -37,8 +37,4 @@ relabel_selinux() {
if [ "$READONLY" != "yes" ]; then
restorecon $(awk '!/^#/ && $4 !~ /noauto/ && $2 ~ /^\// { print $2 }' /etc/fstab) >/dev/null 2>&1
relabel_selinux
-else
- if [ "$READONLY" != "yes" ] && [ -d /etc/selinux ]; then
- [ -f /.autorelabel ] || touch /.autorelabel
- fi
fi