File: config

package info (click to toggle)
couriergraph 0.25-4.5
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 188 kB
  • sloc: perl: 621; sh: 144; makefile: 53
file content (34 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (6)
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
#!/bin/sh
# config script for CourierGraph
#
# by Jose Luis Tallon <jltallon@adv-solutions.net>

if [ -f /usr/share/debconf/confmodule ]; then 
    . /usr/share/debconf/confmodule
fi
db_version 2.0

db_title "CourierGraph"

set -e

case "$1" in
        configure|reconfigure)
 
		db_input medium couriergraph/start_on_boot || true
		db_go

		db_input medium couriergraph/logfile || true
		db_go

		db_input medium couriergraph/stay_on_purge || true
		db_go
	;;

	*)
		echo "config called with unknown argument \$1'" >&2
		exit 0
	;;
esac

exit 0