|
|
|
|
@ -614,9 +614,9 @@ sudo git checkout Self_Service
|
|
|
|
|
sudo chmod +x install.sh
|
|
|
|
|
chmod 777 /opt/FDMR-Monitor/data
|
|
|
|
|
|
|
|
|
|
sudo sed -i 's/RELOAD_TIME = 15/RELOAD_TIME = 1/' /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sudo sed -i 's/FREQUENCY = 10/FREQUENCY = 120/' /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sudo chmod 644 /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sudo sed -i 's/RELOAD_TIME =.*/RELOAD_TIME = 1/' /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sudo sed -i 's/FREQUENCY =.*/FREQUENCY = 1/' /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sudo sed '33 a <!--' -i /opt/FDMR-Monitor/html/sysinfo.php
|
|
|
|
|
sudo sed '35 a -->' -i /opt/FDMR-Monitor/html/sysinfo.php
|
|
|
|
|
####
|
|
|
|
|
@ -1143,6 +1143,9 @@ chmod 777 /opt/FDMR-Monitor2/data
|
|
|
|
|
|
|
|
|
|
#sed -i '72d' /opt/FDMR-Monitor2/html/include/navbar.php
|
|
|
|
|
#sed '69 a \ <option value="es">ES</option>' -i /opt/FDMR-Monitor2/html/include/navbar.php
|
|
|
|
|
sudo chmod 644 /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i 's/RELOAD_TIME =.*/RELOAD_TIME = 1/' /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i 's/FREQUENCY =.*/FREQUENCY = 1/' /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i "s/LANGUAGE =.*/LANGUAGE = \"es\"/g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i "s/TELEGRAM/#TELEGRAM/g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
sed -i "s/root/emqte1/g" /opt/FDMR-Monitor2/fdmr-mon_SAMPLE.cfg
|
|
|
|
|
|