diff --git a/dkms-install.sh b/dkms-install.sh index 45587a3..5e2326c 100755 --- a/dkms-install.sh +++ b/dkms-install.sh @@ -20,4 +20,15 @@ RESULT=$? echo "Finished running dkms install steps." + + if echo "net.ipv6.conf.all.disable_ipv6 = 1 + net.ipv6.conf.default.disable_ipv6 = 1 + net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf; then + echo "Disabled IPv6 Successfuly " + else + echo "Could not disable IPv6" + fi + + + exit $RESULT