mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update ipv6off.sh
This commit is contained in:
parent
5902d83ae5
commit
4d6f5ff0ee
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo sed -i '/listen \[::\]:wd0p/ s/.*/echo ""/' /bin/menu*
|
||||
sudo sed -i '/listen \[::\]:wd0p/ s/.*/echo ""/' /bin/MENU*
|
||||
|
||||
# Función para comprobar si IPv6 está habilitado
|
||||
check_ipv6_enabled() {
|
||||
if [ "$(cat /proc/sys/net/ipv6/conf/all/disable_ipv6)" -eq 0 ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue