From c2ee9973e0d096ae550012a475dc7d79c455b19e Mon Sep 17 00:00:00 2001
From: Tom Early
Date: Wed, 26 Feb 2020 06:16:05 -0700
Subject: [PATCH] updated dash for qn.cfg format
---
Makefile | 1 -
dash/qng-info.py | 136 ++++++++++++++++++++++++++---------------------
2 files changed, 75 insertions(+), 62 deletions(-)
diff --git a/Makefile b/Makefile
index effcc13..bfc6eae 100644
--- a/Makefile
+++ b/Makefile
@@ -170,7 +170,6 @@ installdtmf : qndtmf
installdash :
/usr/bin/apt-get -y install python3-pip
- /usr/bin/pip3 install libconf
/bin/cp -f dash/qng-info.py $(BINDIR)
/bin/cp -f dash/qngdash $(CRONDIR)
/bin/sh /usr/bin/python3 $(BINDIR)/qng-info.py &
diff --git a/dash/qng-info.py b/dash/qng-info.py
index e6ce226..f0a13d3 100755
--- a/dash/qng-info.py
+++ b/dash/qng-info.py
@@ -3,7 +3,6 @@ import socket
import datetime
import csv
import configparser
-import libconf
import json
import requests
import subprocess
@@ -20,10 +19,11 @@ html = """
This status page shows the Callsign, Frequency, IP address and Connected Reflector for the QnetGateway D-Star Hotspot.
Callsign: {1}
-Frequency: {2}MHz
-IP Address: {3}
-External IP Address: {4}
-Reflector: {5}
+Modem: {2}
+Frequency: {3}MHz
+IP Address: {4}
+External IP Address: {5}
+Reflector: {6}