From 05c3e9ce5eaf250a94399f32213da73699f96126 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Mon, 13 May 2013 10:18:28 +0000 Subject: [PATCH] Bugfixing quotas scirpt to source local.sh --- src/quota_edit | 2 ++ src/quota_get | 1 + 2 files changed, 3 insertions(+) diff --git a/src/quota_edit b/src/quota_edit index 771bfe2e..c0e5e86d 100755 --- a/src/quota_edit +++ b/src/quota_edit @@ -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; } diff --git a/src/quota_get b/src/quota_get index 87a2be67..7e94e783 100755 --- a/src/quota_get +++ b/src/quota_get @@ -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 "