Update update.sh

merge-requests/1/head
Esteban Mackay Q 2 years ago
parent 18f46316ae
commit 48c0939dc4

@ -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"

Loading…
Cancel
Save

Powered by TurnKey Linux.