mirror of
https://codeberg.org/hyperreal/dotfiles
synced 2024-11-25 11:53:43 +01:00
Egh
This commit is contained in:
parent
9fbae11900
commit
04afc6e08f
@ -331,7 +331,7 @@ function disable_ipv6() {
|
|||||||
if ! grep "net.ipv6.conf.all.disable_ipv6" /etc/sysctl.conf; then
|
if ! grep "net.ipv6.conf.all.disable_ipv6" /etc/sysctl.conf; then
|
||||||
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
|
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
|
||||||
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
|
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
|
||||||
echo "net.ipv6.lo.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
|
echo "net.ipv6.conf.lo.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
|
||||||
sudo sysctl -p
|
sudo sysctl -p
|
||||||
else
|
else
|
||||||
echo "IPv6 already disabled."
|
echo "IPv6 already disabled."
|
||||||
|
Loading…
Reference in New Issue
Block a user