19-define-os-ip #24

Merged
hygienic-books merged 23 commits from 19-define-os-ip into main 2023-11-12 03:26:37 +00:00
Showing only changes of commit d99bb94c52 - Show all commits

View File

@ -277,6 +277,29 @@ function setup_env_vars () {
echo echo
fi fi
fi fi
if [[ "${want_dns_and_ntp}" ]]; then
read -u3 -p 'Specify one or more comma-separated DNS IPs: ' ARCHZBM_OS_DNS_IP
echo
echo 'Do you want to override Arch Linux'"'"' NTP servers?'
select arg_custom_ntp in 'Yes' 'No'; do
case "${arg_custom_ntp}" in
'Yes')
want_own_ntp='true'
break
;;
'No')
break
;;
esac
done <&3 && echo
if [[ "${want_own_ntp}" ]]; then
read -u3 -p 'Specify one or more comma-separated NTP hostnames or IPs: ' ARCHZBM_OS_NTP_IP
echo
fi
fi
if [[ "${!env_var}" ]]; then if [[ "${!env_var}" ]]; then
printf -- '%s='"'"'%s'"'"'\n' \ printf -- '%s='"'"'%s'"'"'\n' \
"${env_var}" "${!env_var}" \ "${env_var}" "${!env_var}" \