mirror of
https://github.com/n5amd/NextionDriverInstaller.git
synced 2025-12-06 03:42:00 +01:00
Add files via upload
This commit is contained in:
parent
ccab593cf6
commit
b2d8c68335
|
|
@ -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.
|
||||||
|
|
|
||||||
10
install.sh
10
install.sh
|
|
@ -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,"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue