NervesMOTD (nerves_motd v0.1.2) View Source

NervesMOTD prints a "message of the day" on Nerves devices.

To use, add NervesMOTD.print() to the rootfs_overlay/etc/iex.exs file in your Nerves project.

Link to this section Summary

Types

MOTD options

Functions

Print the message of the day

Link to this section Types

Specs

option() :: {:logo, iodata()}

MOTD options

Link to this section Functions

Specs

print([option()]) :: :ok

Print the message of the day

Options:

  • :logo - a custom logo to display instead of the default Nerves logo. Pass an empty logo ("") to remove it completely.