From 68ac593d7f8509a6b51437075230d95ee7e799fa Mon Sep 17 00:00:00 2001 From: downtownallday Date: Thu, 5 Nov 2020 16:32:23 -0500 Subject: [PATCH] load vars ahead of functions --- setup/mods.available/coturn.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/mods.available/coturn.sh b/setup/mods.available/coturn.sh index a4e42085..6a8ac228 100755 --- a/setup/mods.available/coturn.sh +++ b/setup/mods.available/coturn.sh @@ -1,11 +1,12 @@ #!/bin/bash # -*- indent-tabs-mode: t; tab-width: 4; -*- -source setup/functions.sh || exit 1 # load our functions - [ -e /etc/mailinabox.conf ] && source /etc/mailinabox.conf [ -e /etc/cloudinabox.conf ] && source /etc/cloudinabox.conf +source setup/functions.sh || exit 1 # load our functions + + create_turnserver_conf() { if [ ! -e "$STORAGE_ROOT/voip/turnserver.conf" ]; then