mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update n-manager.sh
This commit is contained in:
parent
c7a9a67404
commit
1f6e9fedfa
|
|
@ -1,10 +1,8 @@
|
|||
#!/bin/bash
|
||||
# Nombre del script
|
||||
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
|
||||
echo "VPS no Instalado: $SCRIPT_NAME" >> /opt/curl.txt
|
||||
|
|
|
|||
Loading…
Reference in New Issue