#!/bin/sh PACKAGE=mythtv-status CONFIGFILE=/etc/default/$PACKAGE set -e . /usr/share/debconf/confmodule # Load config file, if it exists. if [ -e $CONFIGFILE ]; then . $CONFIGFILE || true # Store values from config file into # debconf db. if [ "x$RUN" != "x" ] then db_set $PACKAGE/enable $RUN fi if [ "x$UPDATE_MOTD" != "x" ] then db_set $PACKAGE/enable $UPDATE_MOTD fi db_set $PACKAGE/host $HOST db_set $PACKAGE/email $EMAIL fi # Ask questions. db_input medium $PACKAGE/host || true db_input medium $PACKAGE/enable || true db_input medium $PACKAGE/email || true db_go