Removing Hard quota limit. Because we are nice guys ! :)
This commit is contained in:
parent
79f56b4913
commit
bb83c728d4
|
@ -31,9 +31,9 @@ QUOTA_PART=`$MOUNT | $SED -n -e "s,\([^ ]*\) on ${ALTERNC_HTML} type nfs.*,\1,p"
|
||||||
echo $QUOTA_PART
|
echo $QUOTA_PART
|
||||||
|
|
||||||
if [ -z "$QUOTA_PART" ]; then
|
if [ -z "$QUOTA_PART" ]; then
|
||||||
`sudo $QUOTA -r -g $MID $SIZE $SIZE 0 0 $DATA_PART 2>/dev/null || echo "Group quota are not enabled on $ALTERNC_HTML." >&2`
|
`sudo $QUOTA -r -g $MID $SIZE 0 0 0 $DATA_PART 2>/dev/null || echo "Group quota are not enabled on $ALTERNC_HTML." >&2`
|
||||||
else
|
else
|
||||||
`sudo $QUOTA -r -g $MID $SIZE $SIZE 0 0 "$ALTERNC_HTML" 2>/dev/null || echo "Group quota are not enabled on $ALTERNC_HTML." >&2`
|
`sudo $QUOTA -r -g $MID $SIZE 0 0 0 "$ALTERNC_HTML" 2>/dev/null || echo "Group quota are not enabled on $ALTERNC_HTML." >&2`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue