Added disabling of the DMRId lookup to install script

This commit is contained in:
2025-07-13 15:23:08 +02:00
parent 030f325a08
commit ba71eaf58c

View File

@@ -50,6 +50,11 @@ EOF
sudo pistar-firewall
# Disable DMRId lookup
sudo sed -i '/curl -sSL http:\/\/www\.pistar\.uk\/downloads\/DMRIds\.dat\.gz/ s/^/# /' /usr/local/sbin/HostFilesUpdate.sh
sudo rm -f /usr/local/etc/DMRIds.*
sudo touch /usr/local/etc/DMRIds.dat
# Reload systemd to recognize new service
echo "Enabling and starting the service..."
sudo systemctl daemon-reload
@@ -61,3 +66,5 @@ echo " sudo systemctl start pistarlog2ws.service # Start the service"
echo " sudo systemctl stop pistarlog2ws.service # Stop the service"
echo " sudo systemctl restart pistarlog2ws.service # Restart the service"
echo " sudo systemctl status pistarlog2ws.service # Check the status"
echo "Please reboot the Pi-Star at your earliest convenience."