[svn-inject] Applying Debian modifications to trunk
[debian/iodine.git] / debian / config
1 #!/bin/sh
2
3 set -e
4
5 . /usr/share/debconf/confmodule
6
7 if [ -s /etc/default/iodine ] ; then
8         . /etc/default/iodine
9         if [ -n "$START_IODINED" ] ; then
10                 db_set iodine/start_daemon "$START_IODINED"
11         fi
12         if [ -n "$IODINED_ARGS" ] ; then
13                 db_set iodine/daemon_options "$DAEMON_IODINED_ARGS"
14         fi
15 fi
16
17 db_input medium iodine/start_daemon || true
18 db_go
19
20 db_get iodine/start_daemon
21 START_DAEMON=$RET
22
23 if [ "x$START_DAEMON" = "xtrue" ] ; then
24         db_input medium iodine/daemon_options || true
25         db_go
26 fi