mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
Don't start the script unless the user wants to
This commit is contained in:
parent
ae4f4b031e
commit
a35f5138be
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user