5.3.1 #27

Merged
Ark74 merged 5 commits from unstable into master 2021-01-27 14:10:55 +00:00
3 changed files with 8 additions and 9 deletions
Showing only changes of commit 4773c02c59 - Show all commits

View File

@ -223,8 +223,7 @@ echo "# Check and Install HWE kernel if possible..."
HWE_VIR_MOD=$(apt-cache madison linux-image-generic-hwe-$(lsb_release -sr) 2>/dev/null|head -n1|grep -c "hwe-$(lsb_release -sr)")
if [ "$HWE_VIR_MOD" = "1" ]; then
apt-get -y install \
linux-image-generic-hwe-$(lsb_release -sr) \
linux-modules-extra-virtual-hwe-$(lsb_release -sr)
linux-image-generic-hwe-$(lsb_release -sr)
else
apt-get -y install \
linux-image-generic \

View File

@ -271,10 +271,12 @@ fi
done
#Simple DNS test
if [ "$PUBLIC_IP" = "$(dig -4 +short $JITSI_DOMAIN)" ]; then
echo "Server public IP & DNS record for $JITSI_DOMAIN seems to match, continuing..."
echo "Server public IP & DNS record for $JITSI_DOMAIN seems to match, continuing...
"
else
echo "Server public IP ($PUBLIC_IP) & DNS record for $JITSI_DOMAIN don't seem to match."
echo "Please check your dns records are applied and updated. Exiting for now..."
echo "Please check your dns records are applied and updated. Exiting for now...
"
exit
fi
# Requirements
@ -301,8 +303,7 @@ echo "# Check and Install HWE kernel if possible..."
HWE_VIR_MOD=$(apt-cache madison linux-image-generic-hwe-$(lsb_release -sr) 2>/dev/null|head -n1|grep -c "hwe-$(lsb_release -sr)")
if [ "$HWE_VIR_MOD" = "1" ]; then
apt-get -y install \
linux-image-generic-hwe-$(lsb_release -sr) \
linux-modules-extra-virtual-hwe-$(lsb_release -sr)
linux-image-generic-hwe-$(lsb_release -sr)
else
apt-get -y install \
linux-image-generic \

View File

@ -106,8 +106,7 @@ if [ -z $SND_AL_MODULE ]; then
#First make sure the recommended kernel is installed.
if [ "$HWE_VIR_MOD" = "1" ]; then
apt-get -y install \
linux-image-generic-hwe-$(lsb_release -sr) \
linux-modules-extra-virtual-hwe-$(lsb_release -sr)
linux-image-generic-hwe-$(lsb_release -sr)
else
apt-get -y install \
linux-image-generic \