# Note that the input must be sorted in increasing order by uid.
set dev=$1
-set SMS_SETQUOTA = 47836471
+set MR_SETQUOTA = 47836471
# Checking for /etc/zero_old_quotas allows us to release this program
# one server at a time.
if (checksorted == 0) then
echo "Input not sorted"
- exit $SMS_SETQUOTA
+ exit $MR_SETQUOTA
endif
# zero all quotas between current_uid and uid (not including uid)
if ($current_uid != $uid) then
@ uid_high = $uid - 1
- setquota -r $dev $current_uid $uid_high $2
+ setquota -r $dev $current_uid $uid_high 0
endif
# skip over $uid
end
# zero all remaining quotas, except for nobody (32767).
- if ($current_uid != 32767) setquota -r $dev $current_uid 32766 $2
+ if ($current_uid != 32767) setquota -r $dev $current_uid 32766 0
endif