From 5274f12fa29f3723039e1dd34030babdde248e33 Mon Sep 17 00:00:00 2001 From: Lucas Decrock Date: Sat, 23 Feb 2019 21:55:51 +0100 Subject: [PATCH] Update agent.sh --- agent.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent.sh b/agent.sh index 95f1ceb..1bbe68e 100644 --- a/agent.sh +++ b/agent.sh @@ -224,9 +224,9 @@ data_post="token=${auth[0]}&data=$(base "$version") $(base "$uptime") $(base "$s # API request with automatic termination if [ -n "$(command -v timeout)" ] then - timeout -s SIGKILL 30 wget -q -o /dev/null -O /etc/netweak/log/agent.log -T 25 --post-data "$data_post" --no-check-certificate "https://beta.netweak.com/api/agent/report" + timeout -s SIGKILL 30 wget -q -o /dev/null -O /etc/netweak/log/agent.log -T 25 --post-data "$data_post" --no-check-certificate "https://www.netweak.com/api/agent/report" else - wget -q -o /dev/null -O /etc/netweak/log/agent.log -T 25 --post-data "$data_post" --no-check-certificate "https://beta.netweak.com/api/agent/report" + wget -q -o /dev/null -O /etc/netweak/log/agent.log -T 25 --post-data "$data_post" --no-check-certificate "https://www.netweak.com/api/agent/report" wget_pid=$! wget_counter=0 wget_timeout=30