Update menu-mmdvm

This commit is contained in:
RaspbianProyect by HP3ICC 2023-02-21 05:46:46 +00:00
parent b1bfadd0d0
commit feb4928b4a
1 changed files with 5 additions and 1 deletions

View File

@ -77,7 +77,11 @@ then
fi
;;
6)
sudo systemctl stop mmdvmh.service && sudo systemctl disable mmdvmh.service && systemctl stop ysf2dmrgw.service && sudo systemctl stop dmrgw.service && sudo systemctl stop dmrid-mmdvm.service && sudo systemctl disable dmrid-mmdvm.service && cronedit.sh '0 3 * * *' 'sh /opt/MMDVMHost/DMRIDUpdate.sh' remove && sudo rm /var/log/mmdvmh/MMDVMH.* && cronedit.sh '* */24 * * *' 'sh /opt/data-file.sh' remove ;;
if systemctl status ysf2dmr.service | grep disable >/dev/null 2>&1
then
cronedit.sh '* */24 * * *' 'sh /opt/data-file.sh' remove
fi
sudo systemctl stop mmdvmh.service && sudo systemctl disable mmdvmh.service && systemctl stop ysf2dmrgw.service && sudo systemctl stop dmrgw.service ;;
7)
sudo systemctl restart logtailer-mmdvmh.service && sudo systemctl enable logtailer-mmdvmh.service && sudo systemctl restart http.server-mmdvmh.service && sudo systemctl enable http.server-mmdvmh.service && cronedit.sh '* */24 * * *' 'sh /bin/tg-name.sh' add ;;
8)