Merging casper 1.216.
[live-boot-grml.git] / scripts / live-functions
index 4a23e69..4c37f4b 100644 (file)
@@ -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
+}