source:
alternc/trunk/src/quota_edit.sh
@
2156
| Revision 2156, 237 bytes checked in by anarcat, 5 years ago (diff) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | . /etc/alternc/local.sh |
| 3 | DATA_PART=`/bin/df ${ALTERNC_LOC} 2>/dev/null | /usr/bin/awk '/^\// { print $1 }'` |
| 4 | /usr/sbin/setquota -r -g $1 $2 $2 0 0 $DATA_PART 2>/dev/null || echo "Group quota are not enabled on /var/alternc." >&2 |
Note: See TracBrowser
for help on using the repository browser.
