config is in firebird3.0-server 3.0.2.32703.ds4-11ubuntu2.
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 47 48 49 50 51 52 53 54 55 56 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
set -u
if [ -n "${DEBIAN_FIREBIRD_DEBUG:-}" ]; then
set -x
fi
FB_VER="3.0"
PASSWORD_FILE=/etc/firebird/$FB_VER/SYSDBA.password
ACTION=$1
case "$ACTION" in
configure|reconfigure)
# ask the password question
PASSWORD_FILE="/etc/firebird/$FB_VER/SYSDBA.password"
if [ -e $PASSWORD_FILE ]; then
. $PASSWORD_FILE
if [ -n "${ISC_PASSWORD:-}" ]; then
# upgrade or reconfiguration
QUESTION="shared/firebird/sysdba_password/upgrade_reconfigure"
db_set "$QUESTION" "$ISC_PASSWORD"
PRIORITY="low"
else
# new install
QUESTION="shared/firebird/sysdba_password/first_install"
PRIORITY="high"
fi
else
QUESTION="shared/firebird/sysdba_password/first_install"
PRIORITY="high"
fi
db_subst shared/firebird/title FB_VER "$FB_VER"
db_settitle shared/firebird/title
db_subst "$QUESTION" FB_VER "$FB_VER"
db_input "$PRIORITY" "$QUESTION" || true
db_go
# store the answer into hidden template question
db_get "$QUESTION"
db_set shared/firebird/sysdba_password/new_password "$RET"
;;
esac
exit 0
# vi: set sw=4 ts=8 filetype=sh sts=4 :
|