We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 362efbe commit 3bcad00Copy full SHA for 3bcad00
bin/v-update-user-quota
@@ -31,9 +31,10 @@ is_object_valid 'user' 'USER' "$user"
31
#----------------------------------------------------------#
32
33
# Updating disk quota
34
+# Hard quota set to more than 10%. This is more meaningful.
35
quota=$(get_user_value '$DISK_QUOTA')
-soft=$((quota * 1000))
36
-hard=$((soft + 50000))
+soft=$((quota * 1024))
37
+hard=$((soft * 1.10))
38
39
# Searching home mount point
40
mnt=$(df -P /home |awk '{print $6}' |tail -n1)
0 commit comments