fwupd/data/motd/README.md
Mario Limonciello b390b14f8f Add support to integrate into the motd (Fixes: #1270)
Fixes Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921820

Introduce a new --log option to fwupdmgr that will log stdout to an argument.
If run under systemd, prefix that argument with $RUNTIME_DIRECTORY.

Add a new systemd unit and associated timer to regularly refresh metadata.
After the metadata refresh is complete, save the output to the motd location.

The timer and service are disabled by default and can be enabled by an admin.
2019-08-22 06:39:02 +01:00

530 B

Message of the day integration

Message on the day integration is used to display the availability of updates when connecting to a remote console.

It has two elements:

  • Automatic firmware metadata refresh
  • Message of the day display

Automatic firmware metadata refresh

This uses a systemd timer to run on a regular cadence. To enable this, run

# systemctl enable fwupd-refresh.timer

Motd display

Motd display is dependent upon the availability of the update-motd snippet consumption service such as pam_motd.