From b907ed3a6dda99158f9e3ec1903845db9f4a5e86 Mon Sep 17 00:00:00 2001 From: RaspbianProyect by HP3ICC Date: Mon, 24 Apr 2023 17:23:25 +0000 Subject: [PATCH] Update menu-dvs --- menu/menu-dvs | 65 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 62 insertions(+), 3 deletions(-) diff --git a/menu/menu-dvs b/menu/menu-dvs index a0ccacc..fa07740 100644 --- a/menu/menu-dvs +++ b/menu/menu-dvs @@ -20,15 +20,74 @@ fi # case : action en fonction du choix case $choix in 1) -sudo systemctl restart md380-emu.service && sudo systemctl enable md380-emu.service && sudo systemctl restart quantar_bridge.service && sudo systemctl enable quantar_bridge.service && sudo systemctl restart p25parrot.service && sudo systemctl enable p25parrot.service && sudo systemctl restart ysfparrot.service && sudo systemctl enable ysfparrot.service && sudo systemctl restart nxdnparrot.service && sudo systemctl enable nxdnparrot.service && sudo systemctl restart ircddbgatewayd.service && sudo systemctl enable ircddbgatewayd.service && sudo systemctl restart analog_bridge.service && sudo systemctl restart mmdvm_bridge.service && sudo systemctl restart nxdngateway.service && sudo systemctl restart p25gateway.service && sudo systemctl restart ysfgateway.service && sudo systemctl enable analog_bridge.service && sudo systemctl enable mmdvm_bridge.service && sudo systemctl enable nxdngateway.service && sudo systemctl enable p25gateway.service && sudo systemctl enable ysfgateway.service ;; +sudo systemctl stop md380-emu.service +sudo systemctl stop analog_bridge.service +sudo systemctl stop mmdvm_bridge.service +sudo systemctl stop nxdngateway.service +sudo systemctl stop p25gateway.service +sudo systemctl stop ysfgateway.service +sudo systemctl stop quantar_bridge.service +sudo systemctl stop ircddbgatewayd.service +sudo systemctl stop p25parrot.service +sudo systemctl stop ysfparrot.service +sudo systemctl stop nxdnparrot.service + +sudo systemctl start md380-emu.service +sudo systemctl start analog_bridge.service +sudo systemctl start mmdvm_bridge.service +sudo systemctl start nxdngateway.service +sudo systemctl start p25gateway.service +sudo systemctl start ysfgateway.service +sudo systemctl start quantar_bridge.service +sudo systemctl start ircddbgatewayd.service +sudo systemctl start p25parrot.service +sudo systemctl start ysfparrot.service +sudo systemctl start nxdnparrot.service + +sudo systemctl enable md380-emu.service +sudo systemctl enable analog_bridge.service +sudo systemctl enable mmdvm_bridge.service +sudo systemctl enable nxdngateway.service +sudo systemctl enable p25gateway.service +sudo systemctl enable ysfgateway.service +sudo systemctl enable quantar_bridge.service +sudo systemctl enable ircddbgatewayd.service +sudo systemctl enable p25parrot.service +sudo systemctl enable ysfparrot.service +sudo systemctl enable nxdnparrot.service ;; 2) -sudo systemctl stop md380-emu.service && sudo systemctl disable md380-emu.service && sudo systemctl stop quantar_bridge.service && sudo systemctl disable quantar_bridge.service && sudo systemctl stop p25parrot.service && sudo systemctl disable p25parrot.service && sudo systemctl stop ysfparrot.service && sudo systemctl disable ysfparrot.service && sudo systemctl stop nxdnparrot.service && sudo systemctl disable nxdnparrot.service && sudo systemctl stop ircddbgatewayd.service && sudo systemctl disable ircddbgatewayd.service && sudo systemctl stop analog_bridge.service && sudo systemctl stop mmdvm_bridge.service && sudo systemctl stop nxdngateway.service && sudo systemctl stop p25gateway.service && sudo systemctl stop ysfgateway.service && sudo systemctl disable analog_bridge.service && sudo systemctl disable mmdvm_bridge.service && sudo systemctl disable nxdngateway.service && sudo systemctl disable p25gateway.service && sudo systemctl disable ysfgateway.service && rm /var/log/mmdvm/*;; +sudo systemctl stop md380-emu.service +sudo systemctl stop analog_bridge.service +sudo systemctl stop mmdvm_bridge.service +sudo systemctl stop nxdngateway.service +sudo systemctl stop p25gateway.service +sudo systemctl stop ysfgateway.service +sudo systemctl stop quantar_bridge.service +sudo systemctl stop ircddbgatewayd.service +sudo systemctl stop p25parrot.service +sudo systemctl stop ysfparrot.service +sudo systemctl stop nxdnparrot.service + +sudo systemctl disable md380-emu.service +sudo systemctl disable analog_bridge.service +sudo systemctl disable mmdvm_bridge.service +sudo systemctl disable nxdngateway.service +sudo systemctl disable p25gateway.service +sudo systemctl disable ysfgateway.service +sudo systemctl disable quantar_bridge.service +sudo systemctl disable ircddbgatewayd.service +sudo systemctl disable p25parrot.service +sudo systemctl disable ysfparrot.service +sudo systemctl disable nxdnparrot.service +rm /var/log/mmdvm/*;; 3) sudo /usr/local/dvs/dvs ;; 4) nano /lib/systemd/system/http.server-dvs.service && sudo systemctl daemon-reload ;; 5) -sudo systemctl restart http.server-dvs.service && sudo systemctl enable http.server-dvs.service ;; +sudo systemctl stop http.server-dvs.service +sudo systemctl start http.server-dvs.service +sudo systemctl enable http.server-dvs.service ;; 6) sudo systemctl stop http.server-dvs.service && sudo systemctl disable http.server-dvs.service ;; 7)