390e0c335c9b4ad20cd02fd4547b25d1adaaa9ec
[citadel.git] / citadel / debian / citadel-server.config
1 #!/bin/sh
2 set -e
3
4 # source debconf stuff
5 . /usr/share/debconf/confmodule
6 db_version 2.0
7
8 if test -n "$2"; then
9     if test "`echo $2 | sed -e 's/[.-]//g'`" -lt 127 \
10         -o $1 = reconfigure
11     then
12         db_input high citadel/ServerIPAddress
13         db_input high citadel/Administrator
14         db_input high citadel/LoginType
15         db_input high citadel/Installnote
16         db_go
17     fi
18 else 
19     if test "$1" = "configure"; then
20         db_input high citadel/ServerIPAddress
21         db_input high citadel/Administrator
22         db_input high citadel/LoginType
23         db_input high citadel/Installnote
24         db_go
25     fi
26 fi
27
28 exit 0