From 050c1a7f4b9af51de94782fa51d3940f81b3a618 Mon Sep 17 00:00:00 2001 From: Script Proyect by HP3ICC Date: Mon, 19 Aug 2024 17:48:12 +0000 Subject: [PATCH] Update ipv6on-custom.sh --- install/ipv6on-custom.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install/ipv6on-custom.sh b/install/ipv6on-custom.sh index 2501e9f..884697f 100644 --- a/install/ipv6on-custom.sh +++ b/install/ipv6on-custom.sh @@ -1,4 +1,6 @@ #!/bin/bash +cat > /bin/ipv6on-custom.sh <<- "EOF" +#!/bin/bash # Verificar si el usuario tiene permisos de root if [[ $EUID -ne 0 ]]; then @@ -31,3 +33,8 @@ whiptail --title "Reinicio Requerido" --msgbox "* Debe reiniciar para aplicar lo # Reiniciar para aplicar los cambios echo "Reboot..." sudo reboot + +EOF + +sudo chmod +x /bin/ipv6on-custom.sh +sh /bin/ipv6on-custom.sh