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:24:31 +0100 |
commit | c2dbaeda955fa99f90b051b62e58e3269237aea0 (patch) | |
tree | 66bc5a25985a15e2224680c4c8887d0dc313ccf2 /systemd | |
parent | 82c97b4ac121269ecb8296d74f0e5ee27d8d81b5 (diff) | |
download | initscripts-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-x | systemd/fedora-autorelabel | 1 |
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 |