config is in havp 0.92a-2.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #!/bin/sh -e
CONFIGFILE=/etc/default/havp
. /usr/share/debconf/confmodule
# Load config file, if it exists.
if [ -e $CONFIGFILE ]; then
. $CONFIGFILE || true
db_set havp/loopback_mount $USE_LOOPBACK
fi
db_input medium havp/loopback_mount || true
db_go || true
db_get havp/loopback_mount
if [ "$RET" = "true" ]; then
# may do something like this in the future to find a good default
#havp_partition=$havp_dir
#until [ "`df -h | grep \" \"$havp_partition\"$\"`" ]; do
# havp_partition=`dirname $havp_partition`;
#done
#havp_loopsize=`df | grep " "$havp_partition"$" | awk '{print $4/2}' | sed 's/\..*//'`
db_input medium havp/loopback_size || true
db_go || true
fi
|