diff --git a/update.sh b/update.sh index f95bbec..addda5f 100644 --- a/update.sh +++ b/update.sh @@ -190,7 +190,7 @@ case $choix in 1) sudo nano /opt/extra-2.sh && chmod +x /opt/extra* ;; 2) -sh /opt/monitor-update.sh ;; +sudo /opt/monitor-update.sh ;; 3) break; esac @@ -225,7 +225,7 @@ case $choix in 1) sudo nano /opt/extra-3.sh && chmod +x /opt/extra* ;; 2) -sh /opt/monitor-update2.sh ;; +sudo /opt/monitor-update2.sh ;; 3) break; esac @@ -1225,7 +1225,6 @@ EOFB1 ######################################### FDMR-Monitor2 Update ############################################################### sudo cat > /opt/monitor-update2.sh <<- "EOFB2" #!/bin/bash - # Verificar si el usuario tiene permisos de root if [[ $EUID -ne 0 ]]; then echo "Este script debe ejecutarse como usuario ROOT"