diff --git a/web/app.py b/web/app.py index 7a52867..681f65a 100644 --- a/web/app.py +++ b/web/app.py @@ -1106,9 +1106,11 @@ def hbnet_web_service(): content = content + '''
rpi-rw; wget -O /root/auto_pistar.py "''' + str(url) + '/get_script?dmr_id=' + str(i[0]) + '&number=' + str(link_num) + '''"; chmod +x /root/auto_pistar.py; python3 /root/auto_pistar.py; pistar-update
cd /root; rpi-rw; curl "''' + str(url) + '/get_script?dmr_id=' + str(i[0]) + '&number=' + str(link_num) + '''" >> DMR_Hosts.txt; pistar-update
rpi-rw; wget -O /root/auto_pistar.py "''' + str(url) + '/get_script?dmr_id=' + str(i[0]) + '&number=' + str(link_num) + '''"; chmod +x /root/auto_pistar.py; python3 /root/auto_pistar.py; pistar-update
Error
''' @@ -7185,7 +7187,6 @@ Name: ''' + p.name + ''' - Port: ''' + str( @app.route('/api/-A script to enable the use of this network on a Pi-Star device is available. This script will automatically add information, including your generated passphrase and each Master/Proxy instance -on this network, to your device's DMR_Hosts.txt. This will allow you to connect to this network in the Pi-Star configuration page. +
This page generates a script to enable the use of this network on a Pi-Star device. This script will automatically add information, including your generated passphrase and each Master/Proxy instance available on this network, to your device's DMR_Hosts.txt. This will allow you to connect to this network in the Pi-Star configuration page.
- -A script(s) is generated for each of your DMR IDs when you load this page. Each link/command is valid for only one use. If you need execute a command again, -simply reload the page to get a fresh link. +
A script that can be copied and pasted is generated for each of your DMR IDs when you load this page. Each script/command contains a link that is valid for only one use. If you need execute a command again, simply reload the page to get a fresh link.
- -
1: Log into your Pi-Star device via SSH.
-2: Become root user. DMR_Hosts.txt is stored in /root, thus you need to be root to modify it.
-
sudo su
1: Log into your Pi-Star device via SSH.
2: Become root user.
sudo su+
3: Decide which DMR ID you want Pi-Star to login with. Copy and past one of the commands below to update DMR_Hosts.txt. Each command is specific to a DMR ID. You only need to execute ONE of the commands below.
{{markup_content}}