mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
set softquota=hardquota
This commit is contained in:
parent
8d85cdcb2c
commit
9148f7c9c2
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ is_object_valid 'user' 'USER' "$user"
|
|||
# Updating disk quota
|
||||
# Had quota equals package value. Soft quota equals 90% of package value for warnings.
|
||||
quota=$(get_user_value '$DISK_QUOTA')
|
||||
soft=$(echo "$quota * 1024 * 0.90"|bc |cut -f 1 -d .)
|
||||
soft=$(echo "$quota * 1024"|bc |cut -f 1 -d .)
|
||||
hard=$(echo "$quota * 1024"|bc |cut -f 1 -d .)
|
||||
|
||||
# Searching home mount point
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue