From 490718f91fb9692e94a6e5a6400ada119b1a0811 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 12 Sep 2022 20:03:48 -0400 Subject: [PATCH] fix for file not found on line 38 of gonk.sh --- resources/gonk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/gonk.sh b/resources/gonk.sh index f594b49..6b0a5d2 100755 --- a/resources/gonk.sh +++ b/resources/gonk.sh @@ -36,8 +36,8 @@ else curl -s https://ap5.gonknet.org/modules/$HOSTNAME/$GONK_KEY > /etc/asterisk/modules.conf curl -s https://ap5.gonknet.org/logger/$HOSTNAME/$GONK_KEY > /etc/asterisk/logger.conf - sed -i "s/##EXTERNAL_IP##/$(curl -s https://ipv4.myip.wtf/text)/g" /etc/asterisk/pjsip.config - + sed -i "s/##EXTERNAL_IP##/$(curl -s https://ipv4.myip.wtf/text)/g" /etc/asterisk/pjsip.conf + echo " Setting up config updater cron..." echo "26 * * * * gonk /usr/bin/reload" > /etc/cron.d/reload