if  query  "Do you want to (re)configure drivers?" n
  then
    local drivers=$(  sed  's/$/\0 driver off/'  $SCRIPT_DIRECTORY/drivers  )

    persistent_add DRIVER
    DRIVER=$(  dialog  --backtitle  "libGPhoto2 driver selection"   \
                  --stdout                                          \
                  --title  "Select driver please"                   \
                  --checklist                                       \
                  ""                                                \
                  0  0  10                                          \
                  all driver on  $drivers  )

    if  [  -z  "$DRIVER"  ]  ;  then
      message  "No driver selected, defaulting to all."
      DRIVER='"all"'
    fi

    DRIVER=${DRIVER//\"/}     # Remove all " characters.
    DRIVER=${DRIVER// /,}     # Replace spaces with commas.
    DRIVER=${DRIVER%,}        # Strip any stray comma at the end.
    DRIVER=`echo $DRIVER | tr -d '\t'` # Remove strange leading tab

fi  &&

config_query_string GP_RUN 'which program to run when camera is detected?' '/bin/true' &&

config_query  DOXYGEN  "Do you want to build C++ API documentation?" n
