Skip to content
Snippets Groups Projects
Commit e29cd6ea authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

Ubuntu 16.04 learned new tricks to sneak in IPv6 which might be unwanted at certain times

parent a3e09443
Branches
No related tags found
No related merge requests found
#!/bin/sh
sysctl -a net.ipv6.conf 2>/dev/null | awk '/disable_ipv6/ { print $1"=1"}' | xargs sysctl
#!/bin/sh
sysctl -a net.ipv6.conf 2>/dev/null | awk '/disable_ipv6/ { print $1"=0"}' | xargs sysctl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment