3 # Copyright (C) 2004-2008 Richard Kettlewell
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21 . /usr/share/debconf/confmodule
23 # If we don't have any preconception about the local character encoding then
24 # try to use the system one.
25 db_get disorder/encoding || true
26 if test "x$RET" = x; then
27 eval `locale -k charmap`
28 db_set disorder/encoding "$charmap"
31 db_input high disorder/roots || true
32 db_input high disorder/encoding || true
33 db_input high disorder/port || true
34 db_input medium disorder/scratches || true
35 db_input high disorder/mail_sender || true
36 db_input high disorder/interface || true
39 db_get disorder/interface || true
42 if test "x$interface" = xnetwork; then
43 db_input high disorder/mcast_address || true
44 db_input high disorder/mcast_port || true