From fcf3f6b9ca4cf78a9e11afe4ec53ee180ef1af6d Mon Sep 17 00:00:00 2001 From: Esteban Mackay Q Date: Wed, 26 Jul 2023 17:38:39 -0500 Subject: [PATCH] Update update.sh --- update.sh | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/update.sh b/update.sh index 446fe02..bdb7197 100644 --- a/update.sh +++ b/update.sh @@ -986,23 +986,10 @@ sed -i "s/f8f9fa/d0d0d0/g" /opt/FDMR-Monitor2/html/plugins/adminlte/css/adminlt sed -i "s/configFile =.*/configFile = '\/opt\/FDMR-Monitor2\/fdmr-mon.cfg';/g" /opt/FDMR-Monitor2/html/ssconfunc.php #sed -i "s/configFile =.*/configFile = '\/opt\/FDMR-Monitor2\/fdmr-mon.cfg';/g" /var/www/fdmr2/ssconfunc.php -#!/bin/bash - -# Source file path -source_file="/opt/FDMR-Monitor2/html/flags/310.png" -# Destination folder path -destination_folder="/opt/FDMR-Monitor2/html/flags/" +#source_file="/opt/FDMR-Monitor2/html/flags/310.png -# Loop to copy and rename files from 311.png to 329.png -for i in {311..329}; do - destination_file="${destination_folder}${i}.png" - cp "$source_file" "$destination_file" -done -sudo cp fdmr-mon_SAMPLE.cfg fdmr-mon.cfg -sudo chmod 644 fdmr-mon.cfg -sudo cp /opt/FDMR-Monitor2/html/* /var/www/fdmr2/ -r #***** mv /opt/FDMR-Monitor2/utils/logrotate/fdmr_mon /opt/FDMR-Monitor2/utils/logrotate/fdmr_mon2