X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=debian%2Fconfig;h=d3d7ea7ccbe4cc88626ba8c658c0d791189f2dc5;hb=17169b1106c9d3fb24d3a1be63e44e0d8a953878;hp=d405a8b338ea29a2940368c0a5f5ce40ec136615;hpb=4a5a9ff2e77ad3e628b5bf91cc0cfd6978f68516;p=pkg-nagvis.git diff --git a/debian/config b/debian/config index d405a8b..d3d7ea7 100644 --- a/debian/config +++ b/debian/config @@ -3,19 +3,7 @@ set -e . /usr/share/debconf/confmodule -tmp=`mktemp` +db_input high nagvis/monitoring_system || true +db_go || true -if [ -f /etc/dbconfig-common/ndoutils-mysql.conf ] ; then - dbconfig-load-include -f sh \ - -udbc_dbuser -pdbc_dbpass -ddbc_dbname -sdbc_dbserver -Pdbc_dbport \ - /etc/dbconfig-common/ndoutils-mysql.conf > $tmp - . $tmp - if [ -f /usr/share/dbconfig-common/dpkg/frontend.config.mysql ]; then - . /usr/share/dbconfig-common/dpkg/frontend.config.mysql - dbc_go nagvis $@ - fi - db_stop -fi - -rm -f $tmp