From c8f9ec0dc412536560c7f6601f51a20a2509466d Mon Sep 17 00:00:00 2001 From: Ark74 Date: Fri, 11 Dec 2020 13:53:24 -0600 Subject: [PATCH] Fix sed and debconf selection --- add-jvb2-node.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/add-jvb2-node.sh b/add-jvb2-node.sh index 143b629..e731605 100644 --- a/add-jvb2-node.sh +++ b/add-jvb2-node.sh @@ -219,7 +219,7 @@ echo " # Install JVB2 #-------------------------------------------------- " -echo "jitsi-videobridge/jvb-hostname string $MAIN_SRV_DOMAIN" | debconf-set-selections +echo "jitsi-videobridge jitsi-videobridge/jvb-hostname string $MAIN_SRV_DOMAIN" | debconf-set-selections apt-get -y install \ jitsi-videobridge2 \ @@ -267,8 +267,8 @@ cat << JVB2_SIP > $JVB2_SIP JVB2_SIP echo -e "\n---- Setting new config format for jvb2 node. ----" -sed -i '$/}/d' $JVB2_NCONF -cat << JVB2 >> /etc/jitsi/videobridge/jvb.conf +sed -i '${/\}/d;}' $JVB2_NCONF +cat << JVB2 >> $JVB2_NCONF stats { # Enable broadcasting stats/presence in a MUC enabled = true