diff --git a/emq-TE1x.sh b/emq-TE1x.sh index 9ab8a81..3a16a65 100644 --- a/emq-TE1x.sh +++ b/emq-TE1x.sh @@ -2566,102 +2566,7 @@ commands="CREATE DATABASE \`${newDb}\`;CREATE USER '${newUser}'@'${host}' IDENTI echo "${commands}" | /usr/bin/mysql -u root #fdmr-monitor #fdmr-monitor -cd /opt -sudo git clone https://github.com/hp3icc/FDMR-Monitor.git -cd FDMR-Monitor -sudo git checkout Self_Service -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 -sed '33 a ' -i /opt/FDMR-Monitor/html/sysinfo.php -#### -sudo sed -i 's/localhost_2-day.png/localhost_1-day.png/' /opt/FDMR-Monitor/html/sysinfo.php -sudo sed -i "s/HBMonv2/FDMR-Monitor/g" /opt/FDMR-Monitor/sysinfo/*.sh -sudo chmod +x /opt/FDMR-Monitor/sysinfo/cpu.sh -sudo chmod +x /opt/FDMR-Monitor/sysinfo/graph.sh -sudo chmod +x /opt/FDMR-Monitor/sysinfo/rrd-db.sh -# -sudo cat > /opt/FDMR-Monitor/html/buttons.php <<- "EOF" - -Home -  - - - - - - - -EOF - -# -sudo systemctl daemon-reload +####### cd /opt sudo git clone https://github.com/hp3icc/FDMR-Monitor.git cd FDMR-Monitor @@ -2798,7 +2703,7 @@ sudo sed -i "s/test/selfcare/g" /opt/FreeDMR/proxy.cfg #sh /opt/FDMR-Monitor/sysinfo/rrd-db.sh #rm /opt/FDMR-Monitor/sysinfo/*.rrd sh /opt/FDMR-Monitor/sysinfo/rrd-db.sh -##################### +####################################### systemctl stop apache2 systemctl disable apache2 #########