Update data-mmdvm.sh

This commit is contained in:
Esteban Mackay Q 2023-10-18 00:09:51 -05:00
parent dd8055c916
commit 2c7489ec92
1 changed files with 1 additions and 1 deletions

View File

@ -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 -