Some deployments call for displaying a specific exact text at login whichWhen /var/run is a tmpfs and update_motd="NO",
require setting update_motd="NO" and keeping an immutable motd file./var/run/motd will not be created and if manually
In such cases, /var/run/motd will not be generated and if /var/run is a
tmpfscreated, writing an immutable file there will not survive awill not persist after reboot.
When update_Change motd="YES", /etc/motd is created as a symbolic link rc script to always run.
so login(1) can retain its historic behavior of reading /etc/motd,Use update_motd variable to decide if version info should be prepended or not.
either as a regular immutable file or as a symbolic link to /var/run/motd.