Update allmon3.sh

This commit is contained in:
Esteban Mackay Q 2024-01-02 15:37:20 -05:00
parent 988756d0d0
commit b0350ff554
1 changed files with 8 additions and 12 deletions

View File

@ -36,37 +36,33 @@ apt-get update
fi
fi
# Install the dependencies
if [ $samllm3 = 1 ]; then
if [ $VERSION = 10 ]; then
if [ $VERSION = 10 ]; then
apt-get remove python3-aiohttp python3-websockets -y
apt-get install -y python3-argon2
apt-get install -y -t buster-backports python3-async-timeout python3-attr python3-multidict python3-yarl
apt install -y python3-argon2
apt install -y -t buster-backports python3-async-timeout python3-attr python3-multidict python3-yarl
apt-get --fix-broken install -y
pip3 install aiohttp
pip3 install aiohttp_session
pip3 install websockets
apt-get install ca-certificates -y
update-ca-certificates --fresh
fi
if [ $VERSION = 11 ]; then
fi
if [ $VERSION = 11 ]; then
apt-get install -y python3-argon2
apt-get install -y -t bullseye-backports python3-websockets python3-aiohttp python3-aiohttp-session
fi
fi
#### Install Allmon3
if [ $samllm3 = 1 ]; then
if [ $VERSION = 10 ]; then
if [ $VERSION = 10 ]; then
# Descarga el paquete de Allmon3 para Debian 10 (Buster)
wget https://github.com/AllStarLink/Allmon3/releases/download/t_rel_1_2_0/allmon3_1.2.0-1.buster_all.deb
# Instala el paquete
dpkg -i allmon3_1.2.0-1.buster_all.deb
fi
if [ $VERSION = 11 ]; then
fi
if [ $VERSION = 11 ]; then
# Descarga el paquete de Allmon3 para Debian 11 (Bullseye)
wget https://github.com/AllStarLink/Allmon3/releases/download/t_rel_1_2_0/allmon3_1.2.0-1.bullseye_all.deb
# Instala el paquete
dpkg -i allmon3_1.2.0-1.bullseye_all.deb
fi
fi
if [ -f "/usr/share/allmon3/index.html" ]; then
variable2=$(date +'%Y' | tail -c 5)