Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pistar-bmapi needs update #48

Closed
bejoysat opened this issue Nov 30, 2021 · 1 comment
Closed

pistar-bmapi needs update #48

bejoysat opened this issue Nov 30, 2021 · 1 comment

Comments

@bejoysat
Copy link

The script figures out wrong DMRID when parsing /etc/mmdvmhost, causing the final command to BM API to fail.

DMRNetHost=$(sed -n -e '/\[DMR Network\]/,/\[System Fusion Network\]/p' /etc/mmdvmhost | grep "Address=" | awk -F "=" '/Address=/ {print $2}') if [[ "${DMRNetHost}" == "127.0.0.1" ]]; then

Above command returns two lines, which is not expected by the if statement. The new mmdvmhost.ini contains RemoteAddress and LocalAddress values for DMR Network.

@MW0MWZ
Copy link
Collaborator

MW0MWZ commented Nov 30, 2021

fixed

@MW0MWZ MW0MWZ closed this as completed Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants