diff --git a/install/ipv6on-custom.sh b/install/ipv6on-custom.sh index 63ee084..cbac3e0 100644 --- a/install/ipv6on-custom.sh +++ b/install/ipv6on-custom.sh @@ -26,26 +26,8 @@ update-grub # Reiniciar para aplicar los cambios echo "Reiniciando el sistema para aplicar los cambios..." #reboot -cat > /tmp/completado.sh << "EOFXD" -#!/bin/bash -while : ; do -choix=$(whiptail --title "Script Proyect HP3ICC Esteban Mackay 73." --menu "Al finalizar el reinicio escriba menu-adn2 para configurar su servidor. / At the end of the reboot type menu-adn2 to configure your server." 13 46 2 \ -1 " Iniciar Reinicio / Start Reboot " 3>&1 1>&2 2>&3) -exitstatus=$? -if [ $exitstatus = 0 ]; then - echo "Your chosen option:" $choix -else - echo "You chose cancel."; break; -fi -case $choix in -1) -reboot -;; -esac -done -exit 0 -EOFXD -# -chmod +x /tmp/completado.sh -#history -c && history -w -sh /tmp/completado.sh +#reboot +whiptail --title "Reinicio Requerido" --msgbox "* Debe reiniciar para aplicar los cambios.\n\nPresione Enter para reiniciar el equipo.\n\n\n* Need to reboot to apply the changes\n\nPress Enter to restart your computer" 15 60 +# Reiniciar para aplicar los cambios +echo "Reboot..." +sudo reboot \ No newline at end of file