aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2016-03-14 20:24:31 +0100
committerLukas Nykryn <lnykryn@redhat.com>2016-03-14 20:24:31 +0100
commitc2dbaeda955fa99f90b051b62e58e3269237aea0 (patch)
tree66bc5a25985a15e2224680c4c8887d0dc313ccf2 /systemd
parent82c97b4ac121269ecb8296d74f0e5ee27d8d81b5 (diff)
downloadinitscripts-c2dbaeda955fa99f90b051b62e58e3269237aea0.tar
initscripts-c2dbaeda955fa99f90b051b62e58e3269237aea0.tar.gz
initscripts-c2dbaeda955fa99f90b051b62e58e3269237aea0.tar.bz2
initscripts-c2dbaeda955fa99f90b051b62e58e3269237aea0.tar.xz
initscripts-c2dbaeda955fa99f90b051b62e58e3269237aea0.zip
autorelabel: turn quota off before relabeling
Diffstat (limited to 'systemd')
-rwxr-xr-xsystemd/fedora-autorelabel1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/fedora-autorelabel b/systemd/fedora-autorelabel
index 924df8e3..d87acd29 100755
--- a/systemd/fedora-autorelabel
+++ b/systemd/fedora-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