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;