mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update update.sh
This commit is contained in:
parent
da96061e21
commit
0acf4254d2
12
update.sh
12
update.sh
|
|
@ -17,6 +17,18 @@ else
|
||||||
fi
|
fi
|
||||||
case $choix in
|
case $choix in
|
||||||
1)
|
1)
|
||||||
|
# Detectar el sistema operativo y su versión
|
||||||
|
if [ -f "/etc/os-release" ]; then
|
||||||
|
. /etc/os-release
|
||||||
|
OS=$ID
|
||||||
|
VERSION=$VERSION_ID
|
||||||
|
fi
|
||||||
|
if [ "$OS" == "debian" ] && [ "$VERSION" == "12" ]; then
|
||||||
|
whiptail --title "Info" --msgbox " DVSwitch Dashboard \n\n\
|
||||||
|
Debian 12 no soporta dashboard DVSwitch DS5QDR \n\n\
|
||||||
|
Debian 12 does not support DVSwitch DS5QDR dashboard" 0 50
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
sudo bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/update-dash-dvs.sh)" &&
|
sudo bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/update-dash-dvs.sh)" &&
|
||||||
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/nginx.sh)" &&
|
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/nginx.sh)" &&
|
||||||
sudo bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-dvs)"
|
sudo bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-dvs)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue