Update install.sh

This commit is contained in:
Esteban Mackay Q 2022-08-09 23:45:25 -05:00 committed by GitHub
parent 596075a42e
commit 1ebf5958b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -249,6 +249,7 @@ sudo sed -i 's/ANNOUNCEMENT_LANGUAGE: en_GB/ANNOUNCEMENT_LANGUAGE: es_ES/' /opt/
sudo sed -i 's/VOICE_IDENT: True/VOICE_IDENT: False/' /opt/FreeDMR/config/FreeDMR.cfg
sudo sed -i "s/TGID_URL:/#TGID_URL:/g" /opt/FreeDMR/config/FreeDMR.cfg
sed '37 a TGID_URL: https://freedmr.cymru/talkgroups/talkgroup_ids_json.php' -i /opt/FreeDMR/config/FreeDMR.cfg
sed '43 a TOPO_FILE:' -i /opt/FreeDMR/config/FreeDMR.cfg
rm /opt/FreeDMR/conf.txt
cd /opt/FreeDMR/
@ -558,7 +559,8 @@ RestartSec=3
StandardOutput=null
ExecStartPre=/bin/sh -c 'until ping -c1 noip.com; do sleep 1; done;'
#WorkingDirectory=/opt/FreeDMR
ExecStart=/usr/bin/python3 /opt/FreeDMR/hotspot_proxy_v2.py
#ExecStart=/usr/bin/python3 /opt/FreeDMR/hotspot_proxy_v2.py
ExecStart=/usr/bin/python3 /opt/FreeDMR/hotspot_proxy_v2.py -c /opt/FreeDMR/proxy.cfg
[Install]
WantedBy=multi-user.target