blob: 646f67f3aac107c42281821864ea58854f3e8b8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
CONFFILE="/etc/dehydrated/conf.d/config.sh"
if [ -e "${CONFFILE}" ]
then
. ${CONFFILE} || true
db_set open-infrastructure-dehydrated-tools/auto-cleanup "${AUTO_CLEANUP}"
db_set open-infrastructure-dehydrated-tools/ca "${CA}"
db_set open-infrastructure-dehydrated-tools/challengetype "${CHALLENGETYPE}"
db_set open-infrastructure-dehydrated-tools/contact-email "${CONTACT_EMAIL}"
db_set open-infrastructure-dehydrated-tools/key-algo "${KEY_ALGO}"
db_set open-infrastructure-dehydrated-tools/ocsp-fetch "${OCSP_FETCH}"
db_set open-infrastructure-dehydrated-tools/ocsp-must-staple "${OCSP_MUST_STAPLE}"
db_set open-infrastructure-dehydrated-tools/preferred-chain "${PREFERRED_CHAIN}"
fi
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/auto-cleanup "${AUTO_CLEANUP}" || true
db_go
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/ca "${CA}" || true
db_go
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/challengetype "${CHALLENGETYPE}" || true
db_go
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/contact-email "${CONTACT_EMAIL}" || true
db_go
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/key-algo "${KEY_ALGO}" || true
db_go
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/ocsp-fetch "${OCSP_FETCH}" || true
db_go
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/ocsp-must-staple "${OCSP_MUST_STAPLE}" || true
db_go
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/preferred-chain "${PREFERRED_CHAIN}" || true
db_go
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/basedir "${BASEDIR}" || true
db_go
if [ -e /usr/share/dehydrated/hooks ]
then
HOOKS_CHOICES="$(cd /usr/share/dehydrated/hooks && find -maxdepth 1 -not -type d -printf '%P\n' | sort)"
db_subst open-infrastructure-dehydrated-tools/hooks HOOKS_CHOICES "ALL, $(echo ${HOOKS_CHOICES} | sed -e 's| |, |g')"
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/hooks || true
db_go
fi
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/domains "${DOMAINS}" || true
db_go
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/tsig "${TSIG}" || true
db_go
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/register "${REGISTER}" || true
db_go
db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/run "${RUN}" || true
db_go
db_stop
|