diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-11-16 20:16:07 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-23 21:51:27 +0100 |
commit | cdc80c3677753ad6eea8d864552077042bd9abb0 (patch) | |
tree | 05d9592401cafcfe7e35ae1ceac2eb296274a6e1 /branding/motd-cli/README.md | |
parent | f219243eb77546afbaaa7bc25d347952e1e2bbae (diff) |
[feat] motd can parse remote url
Diffstat (limited to 'branding/motd-cli/README.md')
-rw-r--r-- | branding/motd-cli/README.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/branding/motd-cli/README.md b/branding/motd-cli/README.md index cfe8a38..5d00f10 100644 --- a/branding/motd-cli/README.md +++ b/branding/motd-cli/README.md @@ -19,6 +19,7 @@ The structure of the `motd.json` file is like follows: "end": "Dec 31 2021 23:59:00", "type": "daily", "platform": "all", + "urgency": "normal", "text": [ { "lang": "en", "str": "This is a <a href='https://leap.se'>test!</a>"}, @@ -33,7 +34,8 @@ Valid values are: * Begin, End are date strings, like "Jan 1 2021 00:00:00". * Type: "once" for a one-shot message, "daily" for a message that is displayed daily during the specified duration. -* Platform: one of "windows", "linux", "osx" or "all". +* Platform: one of "windows", "osx", "snap", "linux", or "all". +* Urgency: either "normal" or "critical". The text message can contain links. @@ -48,9 +50,12 @@ Message 1 ✓ ----------- Type: daily ✓ Platform: all ✓ +Urgency: normal ✓ Languages: 2 ✓ ``` +Use `motd-cli -url https://example.com/motd.json` to validate a remote file. + Notes: I'm considering adding an explicit layer of verification of the motd payload. Please comment on [#554](https://0xacab.org/leap/bitmask-vpn/-/issues/554) if you have an opinion |