Update fdmr-bridge.sh

merge-requests/1/head
Esteban Mackay Q 2 years ago
parent 6749902500
commit 8b59cd0253

@ -507,11 +507,11 @@ if [ -d "/var/www/fdmr-b2" ]
then then
rm -r /var/www/fdmr-b2 rm -r /var/www/fdmr-b2
fi fi
mkdir /var/www/fdmr-b2
if [ -d "/opt/FDMR-Monitor-B2" ] if [ -d "/opt/FDMR-Monitor-B2" ]
then then
rm -r /opt/FDMR-Monitor-B2 rm -r /opt/FDMR-Monitor-B2
fi fi
mkdir /var/www/fdmr-b2
if [ -f "/opt/wdp7" ] if [ -f "/opt/wdp7" ]
then then
echo "found file" echo "found file"
@ -561,7 +561,7 @@ rm /opt/flags.zip
cp fdmr-mon_SAMPLE.cfg fdmr-mon.cfg cp fdmr-mon_SAMPLE.cfg fdmr-mon.cfg
sudo chmod 644 fdmr-mon.cfg sudo chmod 644 fdmr-mon.cfg
sudo cp /opt/FDMR-Monitor-B2/html/* /var/www/fdmr2/ -r sudo cp /opt/FDMR-Monitor-B2/html/* /var/www/fdmr-b2/ -r
#***** #*****
mv /opt/FDMR-Monitor-B2/utils/logrotate/fdmr_mon /opt/FDMR-Monitor-B2/utils/logrotate/fdmr_mon2 mv /opt/FDMR-Monitor-B2/utils/logrotate/fdmr_mon /opt/FDMR-Monitor-B2/utils/logrotate/fdmr_mon2

Loading…
Cancel
Save

Powered by TurnKey Linux.