config is in bindgraph 0.2a-5.1.
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #!/bin/sh
# config script for BindGraph
#
# by Jose Luis Tallon <jltallon@adv-solutions.net>
. /usr/share/debconf/confmodule
db_version 2.0
db_title "BindGraph"
set -e
case "$1" in
configure|reconfigure)
if [ -f /etc/default/bindgraph ]; then
. /etc/default/bindgraph
if [ -n "$DNS_LOG" ]; then
db_set bindgraph/logfile "$DNS_LOG"
fi
fi
db_input medium bindgraph/start_on_boot || true
db_go
# BIND_VERSION=`dpkg -l bind9 | awk '{if($2=="bind9")print $3;}'`
# if [ -n "$BIND_VERSION" ]; then
# # Seems BIND9 is installed. Display config note
# db_input medium bindgraph/configure_bind || true
# fi
db_input medium bindgraph/logfile || true
db_go
db_input medium bindgraph/stay_on_purge || true
db_go
;;
*)
echo "config called with unknown argument \$1'" >&2
exit 0
;;
esac
exit 0
|