From 0c5b6748910df9df676b194e3fac138292c66062 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Sat, 3 Oct 2020 00:19:55 -0500 Subject: [PATCH] Fix missing incremental nickname and adding right kernel installation. --- add-jibri-node.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/add-jibri-node.sh b/add-jibri-node.sh index bd579d1..67f15bf 100644 --- a/add-jibri-node.sh +++ b/add-jibri-node.sh @@ -146,6 +146,17 @@ apt-get -y install \ unzip \ wget +echo "# Check and Install HWE kernel if possible..." +HWE_VIR_MOD=$(apt-cache madison linux-modules-extra-virtual-hwe-$(lsb_release -sr) 2>/dev/null|head -n1|grep -c "extra-virtual-hwe") +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) + else + apt-get -y install \ + linux-modules-extra-$(uname -r) +fi + check_snd_driver echo " @@ -247,7 +258,7 @@ jibri { control-muc { domain = "internal.auth.$DOMAIN" room-name = "$JibriBrewery" - nickname = "Live" + nickname = "Live-$ADDUP" } // The login information for the control MUC