File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,16 @@ is_object_valid 'user' 'USER' "$user"
3030# Action #
3131# ----------------------------------------------------------#
3232
33- # Updating disk quota
34- # Had quota equals package value. Soft quota equals 90% of package value for warnings .
33+ # Update disk quota
34+ # Hard quota quals package value. Soft quota equals 90% of package value.
3535quota=$( get_user_value ' $DISK_QUOTA' )
3636soft=$( echo " $quota * 1024" | bc | cut -f 1 -d .)
3737hard=$( echo " $quota * 1024" | bc | cut -f 1 -d .)
3838
3939# Searching home mount point
4040mnt=$( df -P /home | awk ' {print $6}' | tail -n1)
4141
42- # Checking unlinmited quota
42+ # Checking unlimited quota
4343if [ " $quota " = ' unlimited' ]; then
4444 setquota $user 0 0 0 0 $mnt 2> /dev/null
4545else
You can’t perform that action at this time.
0 commit comments