Age | Commit message (Collapse) | Author | Files | Lines |
|
This was unreliable with inconsistent configuration...
|
|
|
|
|
|
The user-led needs to be configured with type=off, it is ignored with
other configuration.
|
|
|
|
|
|
|
|
|
|
This helps against notification flooding.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
... but give configuration to opt-out.
|
|
|
|
|
|
|
|
The uptime is returned in time, with supports arithmetic modulo
operation. This is three minutes in nano seconds, so multiplied
180 with 10^9.
|
|
|
|
|
|
|
|
|
|
|
|
The error has been logged before, so just make sure to exit with error.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Telegram messages have a maximum length of 4096 characters. Truncate if
too long, keep some spare characters for status messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Since commit 0560f828 we act on bound leases only. That keeps offline
clients away, so act on static leases as well.
|
|
|
|
|
|
This matches the string included in export.
|
|
|
|
|
|
|
|
This introduces function $FlushTelegramQueue, which flushes queue of
Telegram notifications. Notifications are appended to the queue if
sending failed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Using 'print count-only' always prints a number to terminal, even if the
value is evaluated in a condition or assigned to a variable. This can be
quite annoying. Behavior will not chance (SUP-25503), so replacing the
code...
|
|
Signed-off-by: Christian Hesse <mail@eworm.de>
|
|
Signed-off-by: Christian Hesse <mail@eworm.de>
|
|
Situation will not improve... But chances are that RTC is available with
correct time, for example from host inside CHR vm. So return gracefully.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Do do generate certificate, but use scep-server otp.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|