mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 22:04:00 -07:00
commit
828c8450e4
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ is_object_valid 'user' 'USER' "$user"
|
||||||
# Updating disk quota
|
# Updating disk quota
|
||||||
# Had quota equals package value. Soft quota equals 90% of package value for warnings.
|
# Had quota equals package value. Soft quota equals 90% of package value for warnings.
|
||||||
quota=$(get_user_value '$DISK_QUOTA')
|
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 .)
|
hard=$(echo "$quota * 1024"|bc |cut -f 1 -d .)
|
||||||
|
|
||||||
# Searching home mount point
|
# Searching home mount point
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue