. /usr/share/debconf/confmodule ||exit
db_version 2.0
-if [ -r /etc/openafs/ThisCell] ; then
+if [ -r /etc/openafs/ThisCell ] ; then
read cell </etc/openafs/ThisCell
db_set openafs-client/thiscell $cell
fi
if [ "x$RET" = "x" ] ; then
db_set openafs-client/thiscell `dnsdomainname | tr 'A-Z' 'a-z'`
fi
-if [ -r /etc/openafs/cacheinfo] ; then
+if [ -r /etc/openafs/cacheinfo ] ; then
IFS=: read mountpoint cachedir cachesize </etc/openafs/cacheinfo
db_set openafs-client/cachesize $cachesize
fi
force-start to run.
Template: openafs-client/afsdb
-Type: string
+Type: boolean
Default: true
Description: Look up AFS cells in DNS?
In order to contact an AFS cell, you need the IP addresses of the
cell's database servers. Normally, this information is read from
/etc/openafs/CellServDB. However, if Openafs cannot find a cell in
that file it can use DNS to look for AFSDB records that contain the
-information.
+ information.
. /usr/share/debconf/confmodule || exit
db_version 2.0
-if [ -r /etc/openafs/server/ThisCell] ; then
+if [ -r /etc/openafs/server/ThisCell ] ; then
read cell </etc/openafs/server/ThisCell
db_set openafs-fileserver/thiscell $cell
fi