config_query_option TV_CHECK "check schedule changes" n "tv_check" "" &&
config_query_option TV_CGI "manual selection" n "tv_pick_cgi" ""      &&

# Don't use config_query here or you'll regret it ;)
if  query  "Would you like to select grabbers?"  n;  then
  local  TV_GRAB_LIST                            &&
  persistent_add  TV_GRAB                        &&
  TV_GRAB_LIST=`cat  $SCRIPT_DIRECTORY/grabbers` &&
  BACKTITLE="XmlTV Configuration"                &&
  TITLE="Grabber Selection"                      &&
  HELP="select grabbers"                         &&

  TV_GRAB=`dialog  --backtitle  "$BACKTITLE"  \
                   --title      "$TITLE"      \
                   --stdout                   \
                   --single-quoted            \
                   --checklist  "$HELP"       \
                    0 0 0                     \
                    $TV_GRAB_LIST`
fi
