mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update menu-fdmr
This commit is contained in:
parent
854d52fb72
commit
f328a06496
|
|
@ -220,7 +220,7 @@ rm $sofd0/data/*
|
|||
cd $sofd0
|
||||
python3 mon_db.py --create
|
||||
python3 mon_db.py --update
|
||||
whiptail --title "FreeDMR Dashboard" --msgbox "Configuracion finalizada" 0 50
|
||||
whiptail --title "adn Dashboard" --msgbox "Configuracion finalizada" 0 50
|
||||
;;
|
||||
*)
|
||||
echo "Invalid selection"
|
||||
|
|
@ -272,10 +272,10 @@ rm $sofd0/data/*
|
|||
echo "El servicio mariadb está deshabilitado."
|
||||
else
|
||||
if systemctl is-enabled adn-server.service | grep -q "enabled"; then
|
||||
echo "El servicio freedmr está habilitado."
|
||||
echo "El servicio adn está habilitado."
|
||||
else
|
||||
if [ -e "/etc/nginx/sites-enabled/freedmr" ]; then
|
||||
echo "El archivo /etc/nginx/sites-enabled/freedmr existe."
|
||||
if [ -e "/etc/nginx/sites-enabled/adn" ]; then
|
||||
echo "El archivo /etc/nginx/sites-enabled/adn existe."
|
||||
else
|
||||
systemctl disable mariadb.service
|
||||
systemctl stop mariadb.service
|
||||
|
|
@ -427,7 +427,7 @@ rm $sofd0/data/*
|
|||
echo "El servicio mariadb está deshabilitado."
|
||||
else
|
||||
if systemctl is-enabled adn-server.service | grep -q "enabled"; then
|
||||
echo "El servicio freedmr está habilitado."
|
||||
echo "El servicio adn está habilitado."
|
||||
else
|
||||
if systemctl is-enabled fdmr_mon.service | grep -q "enabled"; then
|
||||
echo "El servicio fdmr_mon está habilitado."
|
||||
|
|
|
|||
Loading…
Reference in New Issue