From 4578223a3526b2cf04ac27431fa1ea90da17b7e3 Mon Sep 17 00:00:00 2001 From: Script Proyect by HP3ICC Date: Sun, 1 Dec 2024 04:54:18 +0000 Subject: [PATCH] Update n-manager.sh --- install/n-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/n-manager.sh b/install/n-manager.sh index 76434ff..8c16c6e 100644 --- a/install/n-manager.sh +++ b/install/n-manager.sh @@ -4,7 +4,7 @@ SCRIPT_NAME="n-manager.sh" # Registra el inicio en /opt/curl.txt echo "Inicio: $SCRIPT_NAME" >> /opt/curl.txt # Verificar si es un VPS o máquina virtual -if grep -q "hypervisor" /proc/cpuinfo || dmesg | grep -iq "virtual" || [ -f /proc/xen/capabilities ]; then +if systemd-detect-virt --quiet; then echo "VPS no Instalado: $SCRIPT_NAME" >> /opt/curl.txt exit 0 # Salir si es un VPS o máquina virtual else