blob: 264477825b246eb966864c238259922e03731aaf (
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
|
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
_FILES="/etc/live/autobuild.conf /etc/live/autobuild.d/*"
for _FILE in "${_FILES}"
do
if [ -e "${_FILE}" ]
then
_DEBCONF="true"
. "${_FILE}" || true
fi
done
if [ "${_DEBCONF}" = "true" ]
then
db_set live-autobuild-manual/enable "${LIVE_AUTOBUILD_MANUAL}"
fi
db_settitle live-autobuild-manual/title
db_input high live-autobuild-manual/enable || true
db_go
db_get live-autobuild-manual/enable
LIVE_AUTOBUILD_MANUAL="${RET}"
if [ "${LIVE_AUTOBUILD_MANUAL}" != "true" ]
then
db_stop
exit 0
fi
db_settitle live-autobuild-manual/title
db_input low live-autobuild-manual/username || true
db_go
db_settitle live-autobuild-manual/title
db_input low live-autobuild-manual/directory || true
db_go
db_settitle live-autobuild-manual/title
db_input low live-autobuild-manual/cron || true
db_go
db_stop
|