Fix heartbeat
This commit is contained in:
parent
d4e4bbdce3
commit
7c23dc27be
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue