git.infertux.com bin-scripts / master ipv6-disable
master

Tree @master (Download .tar.gz)

ipv6-disable @masterraw · history · blame

1
2
3
4
5
6
7
8
#!/bin/bash -eu

set -o pipefail

echo $1 | sudo tee /proc/sys/net/ipv6/conf/all/disable_ipv6
grep '' /proc/sys/net/ipv6/conf/*/disable_ipv6

ip a