Don't start the script unless the user wants to

This commit is contained in:
Daniel Hansson 2017-02-06 23:57:23 +01:00 committed by GitHub
parent ae4f4b031e
commit a35f5138be

View File

@ -69,10 +69,9 @@ echo "If the field after ':' is blank you are probably running as a pure root us
echo "It's possible to install with root, but there will be minor errors."
echo
echo "Please create a user with sudo permissions if you want an optimal installation."
echo "This script continues in 30 seconds, press CTRL+C to abort..."
sleep 30
echo
echo -e "\e[32m"
read -p "Press any key to start the script. Press CTRL+C to abort." -n1 -s
echo -e "\e[0m"
# Prefer IPv4
sed -i "s|#precedence ::ffff:0:0/96 100|precedence ::ffff:0:0/96 100|g" /etc/gai.conf