diff --git a/.gitignore b/.gitignore index e170dee..ffd14dc 100644 --- a/.gitignore +++ b/.gitignore @@ -16,5 +16,6 @@ qnremote qnvoice qnrelay qnmodem +system/qndash.service My_Hosts.txt dashboardV2/jsonData/*.json diff --git a/DASHBOARD.README b/DASHBOARD.README index 234977c..7dc32b7 100644 --- a/DASHBOARD.README +++ b/DASHBOARD.README @@ -7,8 +7,11 @@ features with the ./qnconfig menu. Don't set the refresh time faster than about 10 seconds. If you do, it will become difficult to use the Send URCall button. By default, the installed web server will use ip/port 0.0.0.0:80. If you want -to use something else, copy qndash.service.80 to qndash.service and edit your -new file *before* installing the dashboard. +to use something else, the copy the qndash service file: + +cp system/qndash.service.80 system/qndash.service + +and edit your new file *before* installing the dashboard. To install the dashboard system, run the following command: diff --git a/Makefile b/Makefile index becd24e..34c5ae6 100644 --- a/Makefile +++ b/Makefile @@ -210,7 +210,7 @@ installdash : index.php mkdir -p dashboardV2/jsonData /bin/ln -f -s $(shell pwd)/index.php $(WWWDIR) /bin/ln -f -s $(shell pwd)/dashboardV2 $(WWWDIR) - if [ ! -e qndash.service ]; then cp qndash.service.80 qndash.service; fi + if [ ! -e system/qndash.service ]; then cp system/qndash.service.80 system/qndash.service; fi /bin/cp -f system/qndash.service $(SYSDIR) systemctl enable qndash.service systemctl daemon-reload