/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/mandos-client.config

  • Committer: Björn Påhlsson
  • Date: 2011-09-18 14:28:47 UTC
  • mto: This revision was merged to the branch mainline in revision 497.
  • Revision ID: belorn@fukt.bsnet.se-20110918142847-wx9ru8lxxsc4timi
New feature:
extended timeout given once when password is sent to client

New dbus-API property (Expire):
Time and date when a client will be disabled

New dbus-API property (ExtendedTimeout):
The duration of extended timeout

Changed default values:
Timeout: Changed from 1 hour to 5 minutes
Interval: Changed from 5 minutes to 2 minutes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
#
3
 
# config        Mandos Debconf configuration.
4
 
#
5
 
 
6
 
# Source debconf library.
7
 
. /usr/share/debconf/confmodule
8
 
if ! db_version 2.0; then
9
 
    echo "mandos.config: need DebConf 2.0 or later"
10
 
    exit 1
11
 
fi
12
 
 
13
 
set -e
14
 
umask 022
15
 
 
16
 
# Now, interaction.  Batch it in case any front ends can use this.
17
 
db_beginblock
18
 
 
19
 
# If this is a first time install then prompt 
20
 
if [ "$1" = "configure" -a "$2" != "" ]; then
21
 
        db_input high mandos-client/not-yet-configured || true
22
 
fi
23
 
 
24
 
db_endblock
25
 
db_go || true
26
 
 
27
 
exit 0