Added disabling of the DMRId lookup to install script
This commit is contained in:
@@ -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
|
||||
@@ -60,4 +65,6 @@ echo "Installation complete. Use the following commands to manage the service:"
|
||||
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 " sudo systemctl status pistarlog2ws.service # Check the status"
|
||||
|
||||
echo "Please reboot the Pi-Star at your earliest convenience."
|
Reference in New Issue
Block a user