Update install.sh

main
trrgrnd 2024-11-13 21:04:35 +00:00
parent cd7cb4869f
commit 3da6e0aaa1
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ print_ylw(){
print_ylw "[ ipv6 turn off ]" print_ylw "[ ipv6 turn off ]"
cat << EOF >> /etc/sysctl.conf cat << EOF >> /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6=0 net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=0 net.ipv6.conf.default.disable_ipv6=1
net.ipv4.ip_forward=1 net.ipv4.ip_forward=1
EOF EOF
sysctl -p sysctl -p