diff --git a/update.sh b/update.sh index 433edad..87a39a4 100644 --- a/update.sh +++ b/update.sh @@ -141,7 +141,11 @@ menu-up-fdmon2 ;; 4) menu-up-fdmon3 ;; 5) -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 + echo "Reiniciando daprs.service..." + sudo systemctl restart daprs.service + fi ;; 6) break;