mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Fix quota
Without this fix, the script tries to remount the filesystem read-only which (mostly) fails and returns an error. Also, running quotacheck two times is not needed.
This commit is contained in:
parent
f014e38dae
commit
7973b34f63
1 changed files with 1 additions and 3 deletions
|
@ -50,9 +50,7 @@ fi
|
|||
|
||||
# Adding v2 group and user quota index
|
||||
if [ ! -e "$mnt/aquota.user" ] || [ ! -e "$mnt/aquota.group" ]; then
|
||||
quotaoff $mnt
|
||||
quotacheck -cug $mnt >/dev/null 2>&1
|
||||
quotacheck -aug >/dev/null 2>&1
|
||||
quotacheck -avcugm >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
# Adding quotacheck on reboot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue