From 7c23dc27beadbe2b7d5001a96effe5b8961d4ca2 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Date: Thu, 31 Jan 2019 08:39:54 +0100 Subject: [PATCH] Fix heartbeat --- manager/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager/views.py b/manager/views.py index 44365bd..4cdb175 100644 --- a/manager/views.py +++ b/manager/views.py @@ -51,7 +51,7 @@ if /usr/bin/wget -O/tmp/update.bin https://admin360.kumi.host/update --post-data fi """ - elif device.model.wifi and device.lastbeat < device.changed: + elif device.model.wwan and device.lastbeat < device.changed: code = """ . /etc/vpnsecret if /usr/bin/wget -O/tmp/wireless.in https://admin360.kumi.host/wireless --post-data "secret=$SECRET" --no-check-certificate 2>/var/log/wget;