From 875b8f8a18972c4ab1395d7c1a385ea7c8d7cc1b Mon Sep 17 00:00:00 2001 From: ElGamal <706513+ElGamal@users.noreply.github.com> Date: Fri, 16 Aug 2019 10:31:29 +0200 Subject: [PATCH] Update install.sh --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e4475be..c18992b 100755 --- a/install.sh +++ b/install.sh @@ -37,6 +37,7 @@ BINDIR=$(echo "$MMDVM" | sed "s/\/MMDVMHost//") CONFIGFILE="MMDVM.ini" CONFIGDIR="/etc/" FILESDIR="/usr/local/etc/" +FILESDIRPHP="/var/www/dashboard/mmdvmhost/" SYSTEMCTL="systemctl daemon-reload" MMDVMSTOP="service mmdvmhost stop" MMDVMSTART="service mmdvmhost start" @@ -82,7 +83,7 @@ helpfiles () { cp $DIR/stripped.csv $FILESDIR rm -f /var/www/dashboard/mmdvmhost/lh_nextion.php echo "+ Copying last heard code" - cp %DIR/lh_nextion.php /var/www/dashboard/mmdvmhost + cp %DIR/lh_nextion.php $FILESDIRPHP } herstart () { echo -e "\n+ To test if it all works as expected,"