|
|
|
@ -757,8 +757,8 @@ python3 mon_db.py --create &&
|
|
|
|
python3 mon_db.py --update
|
|
|
|
python3 mon_db.py --update
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
systemctl stop apache2
|
|
|
|
systemctl stop apache2 >/dev/null 2>&1
|
|
|
|
systemctl disable apache2
|
|
|
|
systemctl disable apache2 >/dev/null 2>&1
|
|
|
|
#####################
|
|
|
|
#####################
|
|
|
|
sudo sed -i "s/REPORT_NAME =.*/$variable1/g" /opt/FDMR-Monitor/fdmr-mon.cfg
|
|
|
|
sudo sed -i "s/REPORT_NAME =.*/$variable1/g" /opt/FDMR-Monitor/fdmr-mon.cfg
|
|
|
|
sudo sed -i "s/THEME_COLOR =.*/$variable2/g" /opt/FDMR-Monitor/fdmr-mon.cfg
|
|
|
|
sudo sed -i "s/THEME_COLOR =.*/$variable2/g" /opt/FDMR-Monitor/fdmr-mon.cfg
|
|
|
|
|