If we don't have three destination variables, the cachedir gets the
cache size appended to it. Add a cachesize variable whose contents
we then ignore.
mountpoint=/afs
cachedir=/var/cache/openafs
if [ -r /etc/openafs/cacheinfo ] ; then
- IFS=: read mountpoint cachedir < /etc/openafs/cacheinfo
+ IFS=: read mountpoint cachedir cachesize < /etc/openafs/cacheinfo
fi
db_get openafs-client/cachesize
echo "${mountpoint}:${cachedir}:${RET}" > /etc/openafs/cacheinfo