/[debian]/iodine/trunk/debian/config
ViewVC logotype

Contents of /iodine/trunk/debian/config

Parent Directory Parent Directory | Revision Log Revision Log


Revision 773 - (show annotations)
Fri Jun 22 12:44:23 2007 UTC (13 years, 11 months ago) by gregoa
File size: 623 byte(s)
implement password option for debconf/default
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 "$IODINED_ARGS"
14 fi
15 if [ -n "$IODINED_PASSWORD" ] ; then
16 db_set iodine/daemon_password "$IODINED_PASSWORD"
17 fi
18 fi
19
20 db_input medium iodine/start_daemon || true
21 db_go
22
23 db_get iodine/start_daemon
24 START_DAEMON=$RET
25
26 if [ "x$START_DAEMON" = "xtrue" ] ; then
27 db_input medium iodine/daemon_options || true
28 db_input medium iodine/daemon_password || true
29 db_go
30 fi

  ViewVC Help
Powered by ViewVC 1.1.26