mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update ipv6on-custom.sh
This commit is contained in:
parent
8bb044ba45
commit
219613ad0c
|
|
@ -12,10 +12,8 @@ echo "Activando y habilitando IPv6..."
|
|||
sed -i '/net.ipv6.conf.all.disable_ipv6/d' /etc/sysctl.conf
|
||||
sed -i '/net.ipv6.conf.default.disable_ipv6/d' /etc/sysctl.conf
|
||||
sed -i '/net.ipv6.conf.lo.disable_ipv6/d' /etc/sysctl.conf
|
||||
sed -i '/net.ipv6.conf.eth0.disable_ipv6/d' /etc/sysctl.conf
|
||||
|
||||
echo "net.ipv6.conf.all.disable_ipv6 = 0" >> /etc/sysctl.conf
|
||||
echo "net.ipv6.conf.default.disable_ipv6 = 0" >> /etc/sysctl.conf
|
||||
echo "net.ipv6.conf.lo.disable_ipv6 = 0" >> /etc/sysctl.conf
|
||||
echo "net.ipv6.conf.eth0.disable_ipv6 = 1" >> /etc/sysctl.conf
|
||||
|
||||
# Aplicar los cambios de sysctl
|
||||
|
|
@ -51,4 +49,4 @@ EOF
|
|||
|
||||
chmod +x /tmp/completado.sh
|
||||
#history -c && history -w
|
||||
sh /tmp/completado.sh
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue