Add files via upload

This commit is contained in:
EA5KL 2019-09-30 16:52:43 +02:00 committed by GitHub
parent ccab593cf6
commit b2d8c68335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View file

@ -61,7 +61,7 @@ cd /tmp
get the software get the software
``` ```
git clone https://github.com/EA5KL/NextionDriverInstaller.git git clone https://github.com/ElGamal/NextionDriverInstaller.git
``` ```
go ! go !
@ -84,7 +84,7 @@ cd /tmp
get the software get the software
``` ```
git clone https://github.com/EA5KL/NextionDriverInstaller.git git clone https://github.com/ElGamal/NextionDriverInstaller.git
``` ```
>NOTE: if you get an error that the destionation path exists, >NOTE: if you get an error that the destionation path exists,
>you already downloaded the software. The just ho to the next step. >you already downloaded the software. The just ho to the next step.

View file

@ -5,7 +5,7 @@
# # # #
# (c)2018-2019 by ON7LDS & EA5KL # # (c)2018-2019 by ON7LDS & EA5KL #
# # # #
# V1.08 # # V1.09 #
# # # #
######################################################### #########################################################
@ -32,7 +32,7 @@ sudo apt-get install libcurl4-openssl-dev
echo "+ Getting NextionDriver ..." echo "+ Getting NextionDriver ..."
cd /tmp cd /tmp
rm -rf /tmp/NextionDriver rm -rf /tmp/NextionDriver
git clone https://github.com/EA5KL/NextionDriver.git; git clone https://github.com/ElGamal/NextionDriver.git;
cd /tmp/NextionDriver 2>/dev/null cd /tmp/NextionDriver 2>/dev/null
if [ "$(pwd)" != "/tmp/NextionDriver" ]; then echo "- Getting NextionDriver failed. Cannot continue."; exit; fi if [ "$(pwd)" != "/tmp/NextionDriver" ]; then echo "- Getting NextionDriver failed. Cannot continue."; exit; fi
@ -95,6 +95,12 @@ helpfiles () {
rm -f /var/www/dashboard/mmdvmhost/lh_nextion.php rm -f /var/www/dashboard/mmdvmhost/lh_nextion.php
echo "+ Copying last heard code" echo "+ Copying last heard code"
cp /tmp/NextionDriver/lh_nextion.php $FILESDIRPHP cp /tmp/NextionDriver/lh_nextion.php $FILESDIRPHP
rm -f /var/www/dashboard/mmdvmhost/rptInfo_nextion.php
echo "+ Copying screen information code"
cp /tmp/NextionDriver/rptInfo_nextion.php $FILESDIRPHP
rm -f /var/www/dashboard/mmdvmhost/sysInfo_nextion.php
echo "+ Copying system information code"
cp /tmp/NextionDriver/sysInfo_nextion.php $FILESDIRPHP
} }
herstart () { herstart () {
echo -e "\n+ To test if it all works as expected," echo -e "\n+ To test if it all works as expected,"