config_query_option MDM_IPV6        \
          'Enable IPv6 transport?'  \
          y                         \
          '--enable-ipv6=yes'       \
          '--enable-ipv6=no'        &&

if    spell_ok  linux-pam;  then
  config_query_list  MDM_AUTH  'Use which encryption scheme?'  \
                                       linux-pam shadow crypt
elif  spell_ok  shadow;  then
  config_query_list  MDM_AUTH  'Use which encryption scheme?'  \
                                       shadow linux-pam crypt
else
  config_query_list  MDM_AUTH  'Use which encryption scheme?'  \
                                       crypt linux-pam shadow
fi

# Missing usermode package for `consolehelper` binary
#if [[ "x${MDM_AUTH}" ==  "xlinux-pam" ]];  then
#  config_query_option  MDM_PAM_HELPER  \
#    'Enable PAM console helper?'       \
#    y                                  \
#    '--enable-console-helper=yes'      \
#    '--enable-console-helper=no'
#fi
