mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Update v-update-user-quota
This commit is contained in:
parent
a320b1f32c
commit
362efbe902
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ is_object_valid 'user' 'USER' "$user"
|
|||
# Updating disk quota
|
||||
quota=$(get_user_value '$DISK_QUOTA')
|
||||
soft=$((quota * 1000))
|
||||
hard=$((quota + 50000))
|
||||
hard=$((soft + 50000))
|
||||
|
||||
# Searching home mount point
|
||||
mnt=$(df -P /home |awk '{print $6}' |tail -n1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue