Update update.sh

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

@ -115,13 +115,14 @@ fi
while : ; do 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. 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 " \ 1 " Update ADN-Server " \
2 " Update Monitor OA4DOA " \ 2 " Update Monitor OA4DOA " \
3 " Update Monitor CS8ABG " \ 3 " Update Monitor CS8ABG " \
4 " Update Monitor CS8ABG Map " \ 4 " Update Monitor CS8ABG Map " \
5 " Update DAPRS " \ 5 " Fix menu & PHP " \
6 " Menu Principal " 3>&1 1>&2 2>&3) 6 " Update DAPRS " \
7 " Menu Principal " 3>&1 1>&2 2>&3)
exitstatus=$? exitstatus=$?
#on recupere ce choix #on recupere ce choix
#exitstatus=$? #exitstatus=$?
@ -141,13 +142,18 @@ menu-up-fdmon2 ;;
4) 4)
menu-up-fdmon3 ;; menu-up-fdmon3 ;;
5) 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)" bash -c "$(curl -fsSLk https://raw.githubusercontent.com/hp3icc/D-APRS/main/emq-daprs.sh)"
if systemctl is-enabled --quiet daprs.service; then if systemctl is-enabled --quiet daprs.service; then
echo "Reiniciando daprs.service..." echo "Reiniciando daprs.service..."
sudo systemctl restart daprs.service sudo systemctl restart daprs.service
fi fi
;; ;;
6) 7)
break; break;
esac esac
done done

Loading…
Cancel
Save

Powered by TurnKey Linux.