diff options
author | Daniel Baumann <daniel@debian.org> | 2010-05-01 13:31:18 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:09 +0100 |
commit | c967ebfc4e43fb16a0c2c140c66900712be95ab7 (patch) | |
tree | 74a8a142d7d6ceadcd9c4cb23ee3819fd8739336 /scripts/live-functions | |
parent | 65721717c4e37f6cec9e66f2ac355746490338ab (diff) | |
download | live-boot-c967ebfc4e43fb16a0c2c140c66900712be95ab7.tar.gz live-boot-c967ebfc4e43fb16a0c2c140c66900712be95ab7.zip |
Merging casper 1.216.
Diffstat (limited to 'scripts/live-functions')
-rw-r--r-- | scripts/live-functions | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/live-functions b/scripts/live-functions index 4a23e69..4c37f4b 100644 --- a/scripts/live-functions +++ b/scripts/live-functions @@ -111,3 +111,16 @@ panic() { . /scripts/functions panic "$@" } + +load_confmodule () +{ + # Only do this once + if [ -z "$DEBCONF_REDIR" ] + then + exec <&4 + export DEBIAN_HAS_FRONTEND=1 + export DEBCONF_REDIR=1 + fi + + . /root/usr/share/debconf/confmodule +} |