Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Allow running scripts when building MOTD #245

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sodki
Copy link

@Sodki Sodki commented Aug 18, 2017

Currently we can have multiple files in /etc/motd.d/ and their content would be appended to MOTD. This change would check if the file is executable and, if so, append the ouput of the file to MOTD, not the content of the file. Non executable files would still get their content appended to MOTD. This also preserves alphabetical ordering.

Currently we can have multiple files in /etc/motd.d/ and their content
would be appended to MOTD. This change would check if the file is
executable and, if so, append the ouput of the file to MOTD, not the
content of the file. Non executable files would still get their content
appended to MOTD. This also preserves alphabetical ordering.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant