Changeset 2156

Show
Ignore:
Timestamp:
04/15/08 23:31:06 (1 month ago)
Author:
anarcat
Message:

use absolute path for awk in trying to bring back quotas. See #1008

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/src/quota_edit.sh

    r1833 r2156  
    11#!/bin/sh 
    22. /etc/alternc/local.sh 
    3 DATA_PART=`/bin/df ${ALTERNC_LOC} 2>/dev/null | awk '/^\// { print $1 }'` 
     3DATA_PART=`/bin/df ${ALTERNC_LOC} 2>/dev/null | /usr/bin/awk '/^\// { print $1 }'` 
    44/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