Update emq-TE1ws-Rev11d.sh

This commit is contained in:
hp3icc 2021-11-09 00:53:47 -05:00 committed by GitHub
parent a48974372e
commit e0bd0ddd8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -1000,9 +1000,9 @@ case $choix in
1)
sudo nano /opt/YSF2DMR/YSF2DMR.ini;;
2)
sudo sh /opt/YSF2DMR/DMRIDUpdate.sh && sudo systemctl enable dmrid-ysf2dmr.service && cronedit.sh '* */24 * * *' 'sudo sh /opt/YSF2DMR/DMRIDUpdate.sh' add ;;
sudo sh /opt/YSF2DMR/DMRIDUpdate.sh && sudo systemctl enable dmrid-ysf2dmr.service && cronedit.sh '0 3 * * *' 'sudo sh /opt/YSF2DMR/DMRIDUpdate.sh' add ;;
3)
sudo systemctl stop ysf2dmr.service && sudo systemctl stop dmrid-ysf2dmr.service && sudo systemctl disable dmrid-ysf2dmr.service && rm /var/log/ysf2dmr/* && cronedit.sh '* */24 * * *' 'sudo sh /opt/YSF2DMR/DMRIDUpdate.sh' remove ;;
sudo systemctl stop ysf2dmr.service && sudo systemctl stop dmrid-ysf2dmr.service && sudo systemctl disable dmrid-ysf2dmr.service && rm /var/log/ysf2dmr/* && cronedit.sh '0 3 * * *' 'sudo sh /opt/YSF2DMR/DMRIDUpdate.sh' remove ;;
4)
break;
esac
@ -1197,7 +1197,6 @@ Description=YSF2DMR Service
After=syslog.target network.target
[Service]
User=root
WorkingDirectory=/opt/YSF2DMR
ExecStartPre=/bin/sleep 30
ExecStart=/opt/YSF2DMR/YSF2DMR /opt/YSF2DMR/YSF2DMR.ini