Update update.sh

main
Esteban Mackay Q. 1 month ago
parent 54f808da91
commit ff2816ecf9

@ -115,13 +115,14 @@ fi
while : ; do
choix=$(whiptail --title "Script proyect HP3ICC / update FDMR+" --menu "Nota Importante: antes de iniciar la actualizacion, el proceso de actualizacion borrara por completo todas las configuraciones, al finalizar la actualizacion el servicio se reinniciara automaticamente.
" 17 50 6 \
" 17 50 7 \
1 " Update ADN-Server " \
2 " Update Monitor OA4DOA " \
3 " Update Monitor CS8ABG " \
4 " Update Monitor CS8ABG Map " \
5 " Update DAPRS " \
6 " Menu Principal " 3>&1 1>&2 2>&3)
5 " Fix menu & PHP " \
6 " Update DAPRS " \
7 " Menu Principal " 3>&1 1>&2 2>&3)
exitstatus=$?
#on recupere ce choix
#exitstatus=$?
@ -141,13 +142,18 @@ menu-up-fdmon2 ;;
4)
menu-up-fdmon3 ;;
5)
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-adn)" || true
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/php74.sh)" || true
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/php8.sh)" || true
;;
6)
bash -c "$(curl -fsSLk https://raw.githubusercontent.com/hp3icc/D-APRS/main/emq-daprs.sh)"
if systemctl is-enabled --quiet daprs.service; then
echo "Reiniciando daprs.service..."
sudo systemctl restart daprs.service
fi
;;
6)
7)
break;
esac
done

Loading…
Cancel
Save

Powered by TurnKey Linux.