fürs HQ ipv6 off
This commit is contained in:
1 parent
83d95561e0
commit
cd012921eb
1 file changed
+19
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [[ ${1} = "on" ]]; then
|
||||
printf "\nAktiviere ipv6. $ sudo sysctl -w net.ipv6.conf...\n"
|
||||
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
|
||||
|
||||
else
|
||||
#diabale ipv6
|
||||
printf "\nDeaktiviere ipv6. $ sudo sysctl -w net.ipv6.conf...\n"
|
||||
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
||||
fi
|
||||
|
||||
#make it more persitant
|
||||
|
||||
#disable:
|
||||
#sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
||||
|
||||
#To re-enable IPv6, issue the following commands:
|
||||
#sysctl -w net.ipv6.conf.default.disable_ipv6=0
|
||||
Reference in new issue
Block a user