Update update.sh

Updated DNS to Quad9
This commit is contained in:
Javinator9889 2019-05-12 14:40:54 +02:00 committed by GitHub
parent a7bd462d74
commit e2389f4816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,7 +260,7 @@ for option in ${CONFIG_ARRAY[@]}; do
done
echo -en "Checking internet connection... "
timeout 3 ping -c 1 8.8.8.8 > /dev/null
timeout 3 ping -c 1 9.9.9.9 > /dev/null
if [[ $? != 0 ]]; then
echo -e "\e[31mfailed\e[0m"
exit 1