mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update allmon3.sh
This commit is contained in:
parent
71282fc813
commit
988756d0d0
|
|
@ -9,6 +9,20 @@ if systemctl is-active "apache2" >/dev/null 2>&1; then
|
|||
else
|
||||
sapache=0
|
||||
fi
|
||||
if [ $VERSION = 10 ]; then
|
||||
if [ ! -d "/etc/allmon3" ]; then
|
||||
samllm3=1
|
||||
gpg --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
|
||||
gpg --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
|
||||
gpg --export 04EE7237B7D453EC | sudo apt-key add -
|
||||
gpg --export 648ACFD622F3D138 | sudo apt-key add -
|
||||
echo "deb https://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/buster-backports.list
|
||||
apt update -y
|
||||
else
|
||||
samllm3=0
|
||||
fi
|
||||
fi
|
||||
if [ $VERSION = 11 ]; then
|
||||
if [ ! -d "/etc/allmon3" ]; then
|
||||
samllm3=1
|
||||
gpg --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
|
||||
|
|
@ -20,6 +34,7 @@ apt-get update
|
|||
else
|
||||
samllm3=0
|
||||
fi
|
||||
fi
|
||||
# Install the dependencies
|
||||
if [ $samllm3 = 1 ]; then
|
||||
if [ $VERSION = 10 ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue