mirror of
https://github.com/n5amd/NextionDriverInstaller.git
synced 2025-12-06 03:42:00 +01:00
Update install.sh
This commit is contained in:
parent
66372f6135
commit
875b8f8a18
|
|
@ -37,6 +37,7 @@ BINDIR=$(echo "$MMDVM" | sed "s/\/MMDVMHost//")
|
||||||
CONFIGFILE="MMDVM.ini"
|
CONFIGFILE="MMDVM.ini"
|
||||||
CONFIGDIR="/etc/"
|
CONFIGDIR="/etc/"
|
||||||
FILESDIR="/usr/local/etc/"
|
FILESDIR="/usr/local/etc/"
|
||||||
|
FILESDIRPHP="/var/www/dashboard/mmdvmhost/"
|
||||||
SYSTEMCTL="systemctl daemon-reload"
|
SYSTEMCTL="systemctl daemon-reload"
|
||||||
MMDVMSTOP="service mmdvmhost stop"
|
MMDVMSTOP="service mmdvmhost stop"
|
||||||
MMDVMSTART="service mmdvmhost start"
|
MMDVMSTART="service mmdvmhost start"
|
||||||
|
|
@ -82,7 +83,7 @@ helpfiles () {
|
||||||
cp $DIR/stripped.csv $FILESDIR
|
cp $DIR/stripped.csv $FILESDIR
|
||||||
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 %DIR/lh_nextion.php /var/www/dashboard/mmdvmhost
|
cp %DIR/lh_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