pkg://nagios-common_1.3-cvs.20050402-2.sarge.2_all.deb:1219662/config
info downloads
#!/bin/sh -e
# Source debconf library.
. /usr/share/debconf/confmodule
# Configure apache?
db_subst "nagios/configapache" "webserver" "Apache" || true
db_input medium "nagios/configapache" || true
db_go
# Check their answer.
db_get nagios/configapache
if [ "$RET" != "None" ]; then
db_input high nagios/adminpassword || true
db_input medium nagios/wwwsuid || true
db_go
else
true
fi
# If the Netsaint configuration exists, warn...
if [ -f /etc/netsaint/netsaint.cfg ]; then
db_input medium nagios/upgradefromnetsaint || true
db_go
fi