4 . /usr/share/debconf/confmodule
6 if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
7 . /usr/share/dbconfig-common/dpkg/config.pgsql
8 dbc_authmethod_user="password"
9 dbc_go icinga2-ido-pgsql $@
12 # check if the feature is enabled
13 if test -L /etc/icinga2/features-enabled/ido-pgsql.conf; then
14 db_set icinga2-ido-pgsql/enable "true"
16 db_set icinga2-ido-pgsql/enable "false"
18 db_input high icinga2-ido-pgsql/enable || true