This commit is contained in:
Kumi 2019-01-25 20:34:59 +00:00
parent 754b20413a
commit 2bf89ba2f0

View file

@ -51,7 +51,7 @@ if /usr/bin/wget -O/tmp/update.bin https://admin360.kumi.host/update --post-data
fi
"""
elif device.model.wifi && device.lastbeat < device.changed:
elif device.model.wifi 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;