check for df changed - rebuilt.

This commit is contained in:
hjp 2006-03-08 11:35:07 +00:00
parent 18feafbe66
commit 999f82157e
1 changed files with 4 additions and 6 deletions

10
quotacheck/configure vendored
View File

@ -30,14 +30,14 @@ echo " -e 's,@@@perl@@@,$perl,g' \\" >> customize.$$
for i in /bin/df /usr/bin/df /usr/bin/bdf /usr/sbin/df /usr/local/bin/df
do
a=`$i | awk 'NR == 1 {print $2}'`
if [ "$a" = "kbytes" -o "$a" = "1024-blocks" -o "$a" = "1k-blocks" ]
if [ "$a" = "kbytes" -o "$a" = "1024-blocks" -o "$a" = "1k-blocks" -o "$a" = "1K-blocks" ]
then
echo $i works
df="$i"
break
fi
a=`$i -k | awk 'NR == 1 {print $2}'`
if [ "$a" = "kbytes" -o "$a" = "1024-blocks" -o "$a" = "1k-blocks" ]
if [ "$a" = "kbytes" -o "$a" = "1024-blocks" -o "$a" = "1k-blocks" -o "$a" = "1K-blocks" ]
then
echo $i -k works
df="$i -k"
@ -102,6 +102,7 @@ fi
echo " -e 's,@@@sendmail@@@,$sendmail,g' \\" >> customize.$$
################################################################
# $Id: configure,v 1.7 2006-03-08 11:35:07 hjp Exp $
# find scp command
#
touch scp.test.$$
@ -128,10 +129,7 @@ fi
echo " -e 's,@@@scp@@@,$scp,g' \\" >> customize.$$
# $Log: configure,v $
# Revision 1.6 2005-09-29 10:54:52 hjp
# No real change.
#
# Revision 1.5 2005/03/29 10:03:14 hjp
# Revision 1.7 2006-03-08 11:35:07 hjp
# check for df changed - rebuilt.
#
# Revision 1.1 2005/01/07 16:01:34 hjp