summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2003-10-20 05:11:33 +0000
committerRyan Phillips <rphillips@gentoo.org>2003-10-20 05:11:33 +0000
commitecbab0c5bc86517e9fd3c9d123a56260218afcae (patch)
tree98abc2fd9040e6416d6f0fe6d4a48f84eb60ccaf /net-fs
parentAdd quotes and CVS header. (diff)
downloadgentoo-2-ecbab0c5bc86517e9fd3c9d123a56260218afcae.tar.gz
gentoo-2-ecbab0c5bc86517e9fd3c9d123a56260218afcae.tar.bz2
gentoo-2-ecbab0c5bc86517e9fd3c9d123a56260218afcae.zip
fixes #26213
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/openafs/ChangeLog5
-rw-r--r--net-fs/openafs/files/afs.rc.rc62
2 files changed, 5 insertions, 2 deletions
diff --git a/net-fs/openafs/ChangeLog b/net-fs/openafs/ChangeLog
index 51ddb3351527..a7a541572728 100644
--- a/net-fs/openafs/ChangeLog
+++ b/net-fs/openafs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-fs/openafs
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.23 2003/08/06 22:58:54 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.24 2003/10/20 05:11:33 rphillips Exp $
+
+ 19 Oct 2003; Ryan Phillips <rphillips@gentoo.org> files/afs.rc.rc6:
+ Added Steven Jenkins' init.d script patch
*openafs-1.2.10 (06 Aug 2003)
diff --git a/net-fs/openafs/files/afs.rc.rc6 b/net-fs/openafs/files/afs.rc.rc6
index a3c7a4d3cf35..02cac813b2d8 100644
--- a/net-fs/openafs/files/afs.rc.rc6
+++ b/net-fs/openafs/files/afs.rc.rc6
@@ -50,7 +50,7 @@ check_ext2() {
check_cacheinfo(){
[ ! -f /usr/vice/etc/cacheinfo ] && {
PART=`cat /proc/mounts | grep vice | grep ext2 | awk '{print $1}'`
- CACHESIZE=`df $PART | grep ^/ | awk '{print $4}'`
+ CACHESIZE=`df $PART | tail -1 | awk '{print $(NF-2)}'`
CACHESIZE=`expr $CACHESIZE \* 9`
CACHESIZE=`expr $CACHESIZE / 10`
echo "/afs:/usr/vice/cache:$CACHESIZE" > /usr/vice/etc/cacheinfo