mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update menu-mmdvm
This commit is contained in:
parent
b1bfadd0d0
commit
feb4928b4a
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue