|
|
|
|
@ -497,7 +497,7 @@ variable4=$(grep "COLOR_1 =" /opt/FDMR-Monitor/fdmr-mon.cfg)
|
|
|
|
|
variable5=$(grep "COLOR_2 =" /opt/FDMR-Monitor/fdmr-mon.cfg)
|
|
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
SERVICIOS=("adn_dashboard.service" "apache2.service)
|
|
|
|
|
SERVICIOS=("adn_dashboard.service" "apache2.service")
|
|
|
|
|
|
|
|
|
|
for servicio in "${SERVICIOS[@]}"; do
|
|
|
|
|
# Verificar si el servicio existe
|
|
|
|
|
@ -791,7 +791,7 @@ if ! grep -q "Web-Dashboar-name: adn" "/opt/wdp" > /dev/null 2>&1; then
|
|
|
|
|
sed -i "s|Web-Dashboar-name:.*|Web-Dashboar-name: adn|g" /opt/wdp
|
|
|
|
|
fi
|
|
|
|
|
##############
|
|
|
|
|
SERVICIOS=("adn_dashboard.service" "apache2.service)
|
|
|
|
|
SERVICIOS=("adn_dashboard.service" "apache2.service")
|
|
|
|
|
|
|
|
|
|
for servicio in "${SERVICIOS[@]}"; do
|
|
|
|
|
# Verificar si el servicio existe
|
|
|
|
|
|