mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update data-mmdvm.sh
This commit is contained in:
parent
dd8055c916
commit
2c7489ec92
|
|
@ -153,7 +153,7 @@ if systemctl is-active data-mmdvm.service; then
|
|||
systemctl enable data-mmdvm.service
|
||||
fi
|
||||
if [ -z "$(ls -A /opt/data-files/ 2>/dev/null)" ]; then
|
||||
echo "Update Hosts & DMRIds"
|
||||
echo "First update of Hosts and DMRIds, do not panic because of the message: cannot stat"
|
||||
python3 /opt/data-mmdvm.py
|
||||
fi
|
||||
(crontab -l | grep -v "python3 /opt/data-mmdvm.py") | crontab -
|
||||
|
|
|
|||
Loading…
Reference in New Issue