Update update.sh

main
hp3icc 2 months ago
parent ef9a87199d
commit dc30824161

@ -120,7 +120,8 @@ choix=$(whiptail --title "Script proyect HP3ICC / update FDMR+" --menu "Nota Imp
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 " Menu Principal " 3>&1 1>&2 2>&3) 5 " Update DAPRS " \
6 " Menu Principal " 3>&1 1>&2 2>&3)
exitstatus=$? exitstatus=$?
#on recupere ce choix #on recupere ce choix
#exitstatus=$? #exitstatus=$?
@ -140,6 +141,9 @@ menu-up-fdmon2 ;;
4) 4)
menu-up-fdmon3 ;; menu-up-fdmon3 ;;
5) 5)
bash -c "$(curl -fsSLk https://raw.githubusercontent.com/hp3icc/D-APRS/main/emq-daprs.sh)"
;;
6)
break; break;
esac esac
done done
@ -594,12 +598,6 @@ then
fi fi
###### ######
if [ -d "/opt/D-APRS" ]
then
echo "found file"
else
bash -c "$(curl -fsSLk https://raw.githubusercontent.com/hp3icc/D-APRS/main/emq-daprs.sh)"
fi
if ! systemctl is-enabled fdmr_mon.service >/dev/null 2>&1 && \ if ! systemctl is-enabled fdmr_mon.service >/dev/null 2>&1 && \
! systemctl is-enabled fdmr_mon2.service >/dev/null 2>&1; then ! systemctl is-enabled fdmr_mon2.service >/dev/null 2>&1; then
if systemctl is-active --quiet mariadb.service; then if systemctl is-active --quiet mariadb.service; then

Loading…
Cancel
Save

Powered by TurnKey Linux.