2020-05-31 22:49:07 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
set -e
|
|
|
|
|
|
2024-05-13 22:51:32 -04:00
|
|
|
# TODO: implement debconf support that is maintainable without duplicating the config
|
2020-05-31 22:49:07 +02:00
|
|
|
# Source debconf library.
|
2024-05-13 22:51:32 -04:00
|
|
|
#. /usr/share/debconf/confmodule
|
|
|
|
|
#
|
|
|
|
|
## Ask for the Matrix homeserver name, address and port.
|
2025-05-02 22:23:39 +00:00
|
|
|
#db_input high tuwunel/hostname || true
|
2024-05-13 22:51:32 -04:00
|
|
|
#db_go
|
|
|
|
|
#
|
2025-05-02 22:23:39 +00:00
|
|
|
#db_input low tuwunel/address || true
|
2024-05-13 22:51:32 -04:00
|
|
|
#db_go
|
|
|
|
|
#
|
2025-05-02 22:23:39 +00:00
|
|
|
#db_input medium tuwunel/port || true
|
2024-05-13 22:51:32 -04:00
|
|
|
#db_go
|
2020-05-31 22:49:07 +02:00
|
|
|
|
|
|
|
|
exit 0
|