diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2016-03-14 20:24:31 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2016-03-14 20:26:17 +0100 |
commit | b399247905d9d4a9d12bb3f17b6d085dfbd674c8 (patch) | |
tree | 12827fc3225c4ad08fa62f9846513d5714f186ca | |
parent | 46f5c65d242efafcc27c5da23d0f0d8387ba7250 (diff) | |
download | initscripts-b399247905d9d4a9d12bb3f17b6d085dfbd674c8.tar initscripts-b399247905d9d4a9d12bb3f17b6d085dfbd674c8.tar.gz initscripts-b399247905d9d4a9d12bb3f17b6d085dfbd674c8.tar.bz2 initscripts-b399247905d9d4a9d12bb3f17b6d085dfbd674c8.tar.xz initscripts-b399247905d9d4a9d12bb3f17b6d085dfbd674c8.zip |
autorelabel: turn quota off before relabeling
-rwxr-xr-x | systemd/rhel-autorelabel | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/rhel-autorelabel b/systemd/rhel-autorelabel index 924df8e3..d87acd29 100755 --- a/systemd/rhel-autorelabel +++ b/systemd/rhel-autorelabel @@ -28,6 +28,7 @@ relabel_selinux() { echo $"*** system size and speed of hard drives." FORCE=`cat /.autorelabel` + [ -x "/usr/sbin/quotaoff" ] && /usr/sbin/quotaoff -aug /sbin/fixfiles $FORCE restore > /dev/null 2>&1 fi rm -f /.autorelabel |