Bugfixing quotas scirpt to source local.sh
This commit is contained in:
parent
cab8cc17d3
commit
05c3e9ce5e
|
@ -11,6 +11,8 @@ SED=/bin/sed
|
|||
QUOTA=/usr/sbin/setquota
|
||||
DF=/bin/df
|
||||
|
||||
source /etc/alternc/local.sh
|
||||
|
||||
#checking if quotas are installed
|
||||
command -v $QUOTA >/dev/null || { echo "Quotas uninstalled"; exit 1; }
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ WC=/usr/bin/wc
|
|||
BLKID=/sbin/blkid
|
||||
MID=$1
|
||||
|
||||
source /etc/alternc/local.sh
|
||||
|
||||
if [ "x$MID" == "x" ] ; then
|
||||
echo "Usage: quota_get <uid>"
|
||||
|
|
Loading…
Reference in New Issue