summaryrefslogtreecommitdiff
path: root/debian/mailgraph.config
blob: 84c101a9f613e58d0bf26a6438fc186a36c17b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

db_title "mailgraph" || true

# Sync debconf values with the local configuration
if [ -r /etc/default/mailgraph ]; then
	. /etc/default/mailgraph
	db_set mailgraph/start_on_boot "$BOOT_START"
	db_set mailgraph/mail_log "$MAIL_LOG"
	db_set mailgraph/ignore_localhost "$IGNORE_LOCALHOST"
fi

db_input medium mailgraph/start_on_boot || true
db_go || true
db_input medium mailgraph/mail_log || true
db_go || true
db_input medium mailgraph/ignore_localhost || true
db_go || true