Update ipv6off.sh

This commit is contained in:
Esteban Mackay Q. 2024-05-24 00:39:50 -05:00
parent 5902d83ae5
commit 4d6f5ff0ee
1 changed files with 3 additions and 0 deletions

View File

@ -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