-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use application environment for default options
This makes it possible to just run `NervesMOTD.print` to get the complete customized version of the MOTD. This is nice when there's something that NervesMOTD shows and you just want to see it again without reconnecting. Any option that can be given to `NervesMOTD.print` can be specified in the Application environment for `:nerves_motd`. Options passed to `print/1` take precendence like you'd expect.
- Loading branch information
1 parent
d774cc0
commit 1aaf97f
Showing
3 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters