Skip to content

Commit

Permalink
Update disableipv6.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HamedAp authored Aug 23, 2023
1 parent e742257 commit a78fd7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions disableipv6.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
sed -i '[email protected]_ipv6 = 1@@' /etc/sysctl.conf
sed -i '[email protected]_ipv6 = 1@@' /etc/sysctl.conf

echo "net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.conf
Expand Down

0 comments on commit a78fd7b

Please sign in to comment.